HTML Tags | Examples |
---|---|
<center> - Center displayed elements | |
<center> This text is centered. </center> |
|
<h1> <h2> <h3> - Heading levels | |
<h1>This is H1 text</h1> |
This is H1 text |
<h2>This is H2 text</h2> |
This is H2 text |
<h3>This is H3 text</h3> |
This is H3 text |
<b> - Bold;
<i> - Italic;
<u> - Underline |
|
<b>This is BOLD text</b> <i>This is ITALIC text</i> <u>This is UNDERLINE text</u> |
This is BOLD text This is ITALIC text This is UNDERLINE text |
<hr> - Horizontal rule | |
Line 1 <hr> Line 2 |
Line 1 Line 2 |
<p> - Paragraph (skip a line) | |
Line 1 <p> Line 2 |
Line 1 Line 2 |
<br> - Line break (don't skip line) | |
Line 1. Not second line. <br> Line 2. |
Line 1.
Not second line.
Line 2 |
- Non-breaking space | |
These extra
spaces don't show. But these do. |
These extra spaces don't show. But these do. |
<font> - Text Font (deprecated - better to use CSS) | |
<font face="courier" color="red" size="5"> This is big, red, courier text. </font> |
This is big, red, courier text. |
<img> - Image | |
<img src="images/vtmug-logo.gif" /> |
![]() |
<a> - Anchor (Hyperlink) | |
<a href="http://www.vtmug.org"> VTMUG website </a> |
VTMUG website |
<ol> <ul> <li> - Ordered lists, Unordered lists, and List items | |
Ordered List <ol> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> </ol> |
Ordered List
|
Unordered List <ul> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> </ul> |
Unordered List
|