Custom Search

Tuesday, April 7, 2009

Lesson Three

TEXT LINKS

The tags used to produce links are the <a> and </a>.
The <a> tells where the link should start and the </a> indicates where the link ends.
Everything between these two will work as a link.
The target of the link is added to the <a> tag using
the href="http://www.whateverpage.com" setting.
The example below shows how to make the word here work as a link to yahoo
click <a hrep-"http://www.yahoo.com"> here </a> to go to yahool.
Click here to go to yahoo.
You simply:
• Specify the target in the <a href=" ">.
• Then add the text that should work as a link.
• Finally add an </a> tag to indicate where the link ends.

TEXT FORMAT

These are the tags for text formats:
<b>text</b> write text as bold
<i>text</i> write text in italics
<u>text</u> write underlined text
<sub>text</sub> lower text and makes it smaller
<sup>text</sup> lifts text and makes it smaller
<blink>text</blink> guess yourself! (Note: Netscape only.)
<strikek>text</strike> strikes a line through the text
<tt>text</tt> writes text as on a classic typewriter
<pre>
text
</pre>
writes text exactly as it is, including spaces.
<em>text</em> usually makes text italic.
<strong>text</strong> usually makes text bold.

TEXT SIZE

These are the tags for changing the font size.
<big>text</big> increase the size by one
<small>text</small> decrease the size by one
<h1>

text

</h1>
writes text in biggest heading
<h6>
text
</h6>
writes text in smallest heading
<font size="1">text</font> writes text in smallest fontsize. (8 pt)
<font size="7">text</font> writes text in biggest fontsize (36 pt).

No comments: