This Week's Tags - Learn These! |
Beginning Tag | Ending Tag | Purpose |
<html> | </html> | Tells the browser to begin/end interpreting html text.
The <html> tag is the first tag. The </html> tag is the very last tag. |
<head> | </head> | Tells the browser the heading section is beginning/ending.
The <head> tag is the first tag in the heading section. The </head> tag is the last tag in the
heading section. |
<title> | </title> | Sets the title for the page. The format is <title>Title</title>. The title appears in the browser's title bar. |
<body> | </body> | Tells the browser the body section is beginning/ending. The <body> tag
is the first tag in the body section. The </body> tag is the last tag in the body section and the next to the last tag
in the HTML code. |
<b> | </b> | Makes text between the beginning and ending tags bold. The
format is <b>Hello World</b>. The <b> tag is deprecated, which means that it will not be supported in future versions of HTML. |
<em> | </em> | The emphasis tag makes text between the beginning and ending tags italic. The format is <em>Hello World</em>. The <em> tag replaces the <i> tag. |
<i> | </i> | Makes text between the beginning and ending tags italic. The
format is <i>Hello World</i>. The <i> tag is also deprecated. |
<strong> | </strong> | Makes text between the beginning and ending tags bold in most browsers. The
format is <strong>Hello World</strong>. The <strong> tag replaces the <b> tag. |
<u> | </u> | Makes text between the beginning and ending tags underlined. The
format is <u>Hello World</u>. The <u> tag is also deprecated! You will need to learn cascading style sheets to replace it. We'll get to this - much later! |