XHTML & CSS Tutorial - Basic Tags
These are some of the basic tags that you might use on your website.
<strong>
The <strong> tag makes text stand out. It's just like bold writing.
Example:
<p>This text is normal. <strong>This text uses the strong tag</strong></p>
This text is normal. This text uses the strong tag
<i>
The <i> tag makes the text italic.
Example:
<p>This text is normal. <i>This text uses the italic tag</i></p>
This text is normal. This text uses the italic tag
<u>
The <u> tag makes the text underlined. You should use this as little as possible as people now assume anything underlined is a link to somewhere
Example:
<p>This text is normal. <u>This text uses the underline tag</u></p>
This text is normal. This text uses the underline tag
<br />
The <br /> tag is just like pressing enter on you keyboard. It starts a new line
Example:
<p>This is line one. <br />This is line two.</p>
This line one.
This is line two.
<hr />
The <hr /> tag creates a horizontal line across the page
Example:
<p>This is above the line. <hr />This is below the line.</p>
This is below the line.
This above the line.
This is below the line.