Summary of Tags Covered in Unit 4 Lesson 1
|
Tag |
Description |
|
<!– comment --> |
Comment |
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
DOCTYPE strict |
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
DOCTYPE loose |
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org |
DOCTYPE frameset |
|
<html> </html> |
Designates the beginning and
ending of an HTML document. |
|
<head> </head> |
The beginning and ending of the
head of the HTML document (the title tag goes here) |
|
<title>
</title> |
Display a title on the title bar
at the top of the window |
|
<body> </body> |
Begin and End the Body of the
HTML document |
|
<center> </center> |
Center the Text |
|
<p> </p> |
Place the text on a new line or
paragraph |
|
<h1></h1> |
Heading 1 (the largest heading) |
|
<h2></h2> |
Heading 2 |
|
<h3></h3> |
Heading 3 |
|
<h4></h4> |
Heading 4 |
|
<h5></h5> |
Heading 5 |
|
<h6></h6> |
Heading 6 (the smallest heading) |
|
<ul></ul> |
Unordered List |
|
<li></li> |
List Item |
|
<ol></ol> |
Ordered List |
|
<br/> |
Line Break |
|
<hr> |
Horizontal Rule (draws a
horizontal line) |