| < | start tag | > | Content | </ end tag> | ||
|---|---|---|---|---|---|---|
| element | attribute= | "value" | ||||
| < | h2 | id= | "name" | > | Data within tag | </h2> |
| starttag | Content | end tag | Notes | |||||
|---|---|---|---|---|---|---|---|---|
| element | attribute | value | ||||||
| < | html | > | The HEAD & the BODY of the entire document | </html> | REQUIRED Identifies the document to the
browser as containing HTML elements. |
|||
| < | head | > | REQUIRED Also requires the title element between tags. May
include elements BASE, LINK, META, NEXTID, SCRIPT,
and/or STYLE. | </head> | Provides information about the document to the browser. | |||
| < | title | > | Name of the document. | </title> | REQUIRED within the HEAD element. Specifies the title of
the document. Browser may display TITLE´s content in the
title bar of it´s window. | |||
| < | body | onload= style= |
"function();" "background-color:red;" "background-image:url(images/myimage.jpg);" "margin:10px;" "etc;" |
> | All text, images, and HTML elements that compose the page. | </body> | REQUIRED after the ending HEAD element. | |
| < | b | > | Text made bold |
</b> | ||||
| < | i | > | Text made italicized | </i> | Italicizes text. | |||
| < | br | /> | Text | NONE | Break. Begins text on next line. | |||
| < | hr | style= |
"color:red;" "background-color:red;" "width:70%;" "text-align:center;" |
/> |
|
NONE | horizonal Rule used to seperate sections. | |
| < | h1 | style= |
"color:red;" "text-align:center;" |
> |
Heading 1. |
</h1> | Very large +3 font, bolded, with one blank lines above and below. | |
| < | h2 | style= |
"color:green;" "text-align:center;" |
> |
Heading 2 |
</h2> | Large +2 font, bolded, with one blank lines above and below. | |
| < | h3 | style= |
"color:blue;" "text-align:center;" |
Text heading 3. |
</h3> | Large +1 font, with one blank line above and below. | ||
| < | h4 | style= |
"color:magenta;" "text-align:center;" |
> | Text heading 4. |
</h4> | Normal font, bolded, with one blank line above and below. | |
| < | h5 | style= |
"color:brown;" "text-align:center;" |
> |
Text heading 5. |
</h5> | Normal -1 font, with one blank line above and below. | |
| < | h6 | style= |
"color:black;" "text-align:center;" |
> |
Text heading 6. |
</h6> | Normal -2 font, bolded, with one
blank line above and below. |
|
| < | p | style= |
"color:navy;" "text-align:left;" |
> |
Text included in paragraph |
</p> | Paragraph. Marks the beginning and ending of a
paragraph. Always skips one line at the beginning and the end of the paragraph. |
|