Text Design
Elements of HTML to Design Text
To attach additional properties to a text, like size, type, colour etc,
there exist some design-TAGs with parameters. Still today, an important example is
the
<FONT>-TAG, e.g. to modify the text colour.
<FONT COLOR=BLUE>
text colour blue
</FONT>
Additional parameters of the <FONT>-TAG are :
size=7 - size 7 dots, - very large
size=4 - size 4 dots, - a bit larger than normal
size=2 - size 2 dots, - a bit smaller than normal
size=1 - size 1 dot, - very little
and intermediate and oversize values as well as relative values like :
size=+2 - 2 dots larger than currently, - normal plus 2 dots
size=-2 - 2 dots smaller than currently, - normal minus 2 dots
face=font type, z.B.:
<FONT FACE=ARIAL>
font type ARIAL
</FONT>
or
<FONT FACE=ROMAN>
font type ROMAN
</FONT>
Besides the <FONT>-TAG there are others, that influence the view of the text :
bold text :
<B>
Text is BOLD
</B>
underline :
<U>
text is underlined
</U>
lower text :
<SUB>
text is lowered
</SUB>
exponent text :
<SUP>
text is higher
</SUP>
To arrange text in the center of a page there is the following TAG :
<CENTER>
these lines are centered
<BR>
true as well for that line
<BR>
and all following until the end-TAG
</CENTER>
sample, using the elements to design text
<HTML>
<HEAD>
<TITLE>font decoration</TITLE>
</HEAD>
<BODY>
<H1>sample of font decoration</H1>
The chemical formula of water is H<SUB>2</SUB>O.
If you want to write square kilometers , it looks like that :
km<SUP>2</SUP>
Large coloured text like :
<BR>Last new line
<BR>
<FONT SIZE=6>large font
<FONT COLOR=GREEN>green</FONT>
without colour,
<FONT COLOR=YELLOW>yellow</FONT>
<FONT COLOR=RED><I>red, italic</I></FONT>
</FONT>now normal sized
<BR>
<CENTER>
This line and the following are centered
<BR>
like as well this one.
</CENTER>
</BODY>
</HTML>
It views like that
try it