Softpedia
 

NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
Home > News > Webmaster > Tips and Tricks

September 3rd, 2007, 16:50 GMT · By Catalin Bocanu

The Basic Structure of a HTML Template

SHARE:

Adjust text size:


A Basic HTML Template Code
Enlarge picture
HTML, HyperText Markup Language, is a language that allows you to create web pages. The developer uses HTML tags to create the HTML document. For example, you can use HTML tags to format text, paragraphs, create tables and much more. In order to create HTML documents you need only a text editor and a web browser. We provide below a simple HTML
template:

CODE




my web site


My homepage.......


Every HTML document will contain at the beginning "HTML" tag. Every tag "TAG" must have a closing "TAG". The "head" tag contains the "title" tag which gives the document title that appears in the web browser title bar, in this case "my web site". Also between "head" tags there are also "META" tags used by search engines to index the document. The first "META" tag from the template shown here is referring to the website description as it appears in web searches and the second "META" tag has the keywords relevant for the site content. The document body is delimited by "body" tag. Here you will find the web page content that could be formed by tables, images, text or anything else.

There are many other tags that could be embedded in the "head", respectively in the "body" tags, but this example template represents only the basic structure of any HTML document. For complex documents you can use a HTML generator. These are applications that automatically create the HTML tags for you, generating complex html templates (with CSS, javascript and more), interlinked between them to form a complete website. This basic HTML document structure should be followed in every design because it provides the certitude of a correct HTML document. This HTML template structure will determinate an optimal design of every website.

TELL US WHAT YOU THINK:

7,020 hits · Link to this article · Print article · Send to friend · Subscribe to news

MUST-READ RELATED ARTICLES:


How to Download FREE Stuff STRAIGHT from GOOGLE

Client-Side Programming

Server-side Programming

Install IIS Support for Perl Scripts

Short introduction to CSS Syntax

READER COMMENTS:



No user comments yet.
Be the first to express your opinion!
Copyright © 2001-2012 Softpedia. Contact/Tip us at

WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM