HTML Tutorial - Drawing Lines, SUB and SUP Tags (Page 11 of 12 )
You can draw a Horizontal line by making use of <HR> tag. Its attributes include bgcolor and size. Listing 27 shows its usage:
<HR bgcolor = “yellow” size = “10”> Using Address tag
Suppose, if you want to give your contact information on a web page, you can make use of <ADDRESS></ADDRESS> tag. It displays the texts in its own font. Hence, there is no need for you to format the texts separately.
<ADDRESS>Microsoft Inc, Washington, USA</ADDRESS>
Using <SUB> tag
This tag stands for subscript. The basic functionality of this tag is that it lowers the texts between the tag.
Using <SUP> tag
This tag stands for superscript and it raises the texts between the tag as shown in Listing 30.
2<SUP>3</SUP> = 8
You can change the appearance of your text using <FONT> tag. Its attributes are face, size and color. Face attribute accepts font names like Arial, Courier, Verdana and etc. Size accepts values from 1 to 7 while color specifies the font color.
<FONT face = “Verdana” size = “3” color = “blue”> This text will display in blue color </FONT>