Formatting Text with <HTML> Tags
Style Tags
There are a number of tags that can be used to format text. They are as follows:
<P>: to mark out paragraphs
<BR>: to create a line break
<B>: to bold text
<EM>: to emphasize text
<STRONG>: to emphasize text too
<I>: to italicize text
<U>: to underline text
<SUB>: to make subscripts
<SUP>: to make superscripts
<BLINK>: to make text . NOTE: This tag should be used sparingly if ever! It is not a recommended tag for stylish webdesign
<BR>: to create a line break
<B>: to bold text
<EM>: to emphasize text
<STRONG>: to emphasize text too
<I>: to italicize text
<U>: to underline text
<SUB>: to make subscripts
<SUP>: to make superscripts
<BLINK>: to make text . NOTE: This tag should be used sparingly if ever! It is not a recommended tag for stylish webdesign
These tags can be specialized using CSS.
The <FONT> Tag
Another tag that can be used to modify the text in a webpage is the <FONT> tag. This tag can be used to set the font face, the font size, and the font color using the following modifications of the main <FONT> tag:
<FONT FACE = "font name">: used to set the font of the text
<FONT SIZE = "size">: a number between 1 and 7 where 1 is the smallest size and 7 is the largest
<FONT COLOR = "hexidecimal number">: a hexidecimal number representing a color
<FONT SIZE = "size">: a number between 1 and 7 where 1 is the smallest size and 7 is the largest
<FONT COLOR = "hexidecimal number">: a hexidecimal number representing a color
Sources
For a quick summary of the <FONT> tag, go to the
w3 HTML fonts site.