| |
|
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’s to put in the head part should be placed inside the tag. The 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.
Here is a sample of an HTML document structure:
The main title
< body>
The body of the document.
The 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 tag where * is the size of heading ranging from 1(large) to 6(small).
For example:
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 . There is no closing tag for a 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 tag. The default width of the tag is the width of your screen and has a default height of 2.
For Example:
No Comments for this page.
|
 |
Tutorial Stats |
| 1,211 |
Views |
| 0 |
Total Comments |
| 0 |
Rating of 5 ( Votes) |
|