Highlighting Text

This paragraph is highlighted yellow.

Everything in this area is highlighted.


Text between these <SPAN> tags is highlighted , everything else is not.


The two examples above use the same principle to highligh an area. They use CSS.

In the first example, a large area is highlighted using CSS in a <DIV> tag. The second example uses CSS in a <SPAN> tag to highlight a more confine area. That's the only difference between the two.

In the first example, we put an inline style in a <DIV> tag:
<div style="background: #ffff00; font-weight: bold; color: #ff0000;">

The second example has an inline style in a <SPAN> tag:
<span style="background: #0000ff; font-weight: bold; color: #ff0000">


RETURN