| HTML Lesson 2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13, |
| HTML 1st Lesson - Structural Tags
|
- These structure tags are used in every HTML document that we creat.
- These tags defines a document's structure.
- These tags are always used in pairs.
Following are the structure tags:-
| HTML Structure Tag |
Purpose |
| <html> and </html> | Defines the document as an HTML document |
| <head> and </head> | Includes introductory information about the document |
| <title> and </title> | Indicates the document title |
| <Body> and </Body> | Encloses all elements within the document |
(1) <HTML> and </HTML> Tags
          Defines the document as an HTML document. The two tags enclose everything in the document.
          If these tags are not present the document will only be seen as text.
(2) <Head> and </Head> Tags
          Includes introductory information about the document. Without the two tags some broswers can't identify of refrence
          the document.
(3) <Title> and </Title> Tags
          Indicates document's title. Make the title as descriptive as possible, for for the identification purpose.
(4) <Body> and </Body> Tags
          Between the two tags all information that appears as part of document is placed.
Here is a basic setup of our HTML document which we shall creat, within the body tags
          <html>
          <head>
          <title>asifpk.5u.com</Title>
          </head>
          <body bgcolor="red" text="purple" link="darkblue" Vlink="blue" Alink="brown">
          </body>
          </html>
<Next Lesson>
|
|