Search
Left Quote    I think there is a world market for maybe five computers.
- Thomas Watson, Chairman of IBM 1943    
Right Quote
 
[login] | [Register]
 

HTML Tutorial

by: ranjith
Page: 2 of 5
(View All)


Structure


HTML documents are composed of two parts: the head and body. The head part contains the document specific information’s such as the title to be displayed on the title bar of the browser, etc. The information to put in the head part should be placed inside the following tag:



The body makes the rest of the document, it is in the body in which we place all the text which relates to the actual document along with all the formatting tags. See example below:


Sample of an HTML Document Structure




The <html> </html> tag is the main tag or the umbrella tag under which all the other tags resides.

Headings


Headings are usually used to imply the importance of a particular paragraph. You can insert a heading into html document using <h*> tag where * is the size of heading ranging from 1(large) to 6(small).

If you need to add a large heading, you need to add the following line to your html document:


This is your large heading


If your need is to add a smaller heading then you have to put the following line:


This is your small heading

Horizontal Ruled Lines

Horizontal ruled lines are used to separate different areas of a web page. The tag used to insert a horizontal ruled line is <hr> . There is no closing tag for a <hr> tag.You can specify the behavior of the horizontal line such as size and width of the line by adding some special attributes to the <hr> tag. The default width of the <hr> tag is the width of your screen and has a default height of 2.



This is your horizontal ruled line:



1  |  2  |  3  |  4  |  5  |  
Next »


No Comments for this page.

You Must be logged in or a member to comment.


Tutorial Stats

Tutorial Stats

1,881 Views
0 Total Comments
0 Rating of 5 ( Votes)

Options

Tutorial Options

· Login to Rate This Article
· Login to Post a Comment
· Read more by this author
Digg This Article! Del.icio.us: Bookmark This Article Reddit: Bookmark This Article BlinkList: Blink This Article! YahooMyWeb BlogMarks: Add This Mark! Furl: Save This Article Spurl: Mark This Article

Articles

Related    

· New windows without using the target attribute
· Site Design Made Simple
Your Article Here


"AllSyntax.com" Copyright © 2002-2012; All rights lefted, all lefts righted.
Privacy Policy  |  Internet Rank