|
Tag
Function |
Tag |
Example
of tag in use |
Result |
|
Paragraph Break
(1 blank line
between) |
<p> |
That dog is brown.
<p> That dog is black. |
That dog is brown.
That dog is black |
|
Line Break
(no blank between) |
<br> |
That dog is brown. <br>
That dog is black. |
That dog is brown.
That dog is black |
|
Horizontal Rule
(a plain line across
the page AND a paragraph break) |
<hr> |
What follows is a
horizontal rule.<hr> It also causes a paragraph break. |
What follows is a
horizontal rule.
It also causes a
paragraph break. |
|
Bold Text |
<b>
</b> |
This text <b> will be
bold.</b> This will not. |
This text will be
bold. This will not. |
|
Italic Text |
<i>
</i> |
This text <i> will be
italicized. </i> This will not. |
This text will be
italicized. This will not. |
|
Underline Text |
<u>
</u> |
This text <u> will be
underlined. </u> This will not. |
This text will be
underlined. This will not. |
|
Centered |
<p align="center"> </p> |
<p align="center">This text is centered.
</p> |
This text is centered. |
|
Combined Codes
Match pairs!
|
<b><i><u>
</b></i></u> |
<u><b>This is busy, <i>busy</i>
text.</u></b> |
This is busy,
busy text. |
|
Hyperlink |
<a href= >
</a> |
Click <a href=http://www.lakeland.k12.nj.us>here
</a> to go to Lakeland’s website |
Click
here to go to Lakeland’s
web site |
|
Bullet list |
<ul>
<li> </li>
</ul>
|
<ul>
<li>Bullet
Item 1</li>
<li>Bullet
Item 2</li>
<li>Bullet
Item 3</li>
</ul> |
·
Bullet Item 1
·
Bullet Item 2
·
Bullet Item 3 |
|
Change the text
color
Red,
blue, yellow,
purple, green,
orange |
<font color= >
</font> |
This text will be
colored <font color=red> Orange. </font> This text will be colored <font
color=blue>Green.</font> |
This text will be
colored Orange.
This text will be colored Green. |