Basic HTML Coding

Simple Tags -- Simple tags make something happen at a point in the document, such as a line break, as opposed to affecting a portion of the document (like making some text bold). To affect a portion of a document, you use container tags. Most tags are container tags.

TagNameFormat of code used in exampleHow it looks
<br> Line Break Item 1 <br>Item 2 <br>Item 3 Item 1
Item 2
Item 3
<br> Line Break Item 1 <br><br>Item 2 Item 1

Item 2
<p> Paragraph Particularly useful for setting apart paragraphs of text.<p>The paragraph tag gives the equivalent of a double return. You generally do not want to use multiple paragraph tags. Use line break to move down a number of lines.<p>The paragraph tag can also be a container. Particularly useful for setting apart paragraphs of text.

The paragraph tag gives the equivalent of a double return. You generally do not want to use multiple paragraph tags. Use line break to move down a number of lines.

The paragraph tag can also be a container.

<hr> Horizontal Rule This places a line <hr> across your document This places a line
across your document
<hr> Horizontal Rule Options <hr noshade>

<hr width=25>

<hr size=5>

<hr width=40 align=left>

<hr noshade width=35 size=4>








WebTricks Main Page


You can reach Pete at:
pete@thelivingcanvas.com