[skip nav]

www.ackadia.com



« Crash guide to HTML. Lesson 10 - Playing with text »

...


Previous lesson     Back to lesson index     Next lesson




cut----------------------------------------------


<html>
<head>
<title>Ackadia - Learn HTML - lesson 10 - text formatting</title></head>
<body background="stone.jpg">

<br /><br />
<center>
<table border="3" bgcolor="white" cellpadding="10" cellspacing="5" width="80%">
<tr><td>

Let's add a lines using "HR" - horizontal rule:-<hr />
<br /><br />

Make the text <b>BOLD</b> or use <strong>BOLD</strong>
<br /><br />

Make the text <i>ITALIC</i> or use <em>ITALIC</em>
<br /><br />

Make the text <font size="+2">BIGGER</font>
<br /><br />

Make the text <font size="-2">SMALLER</font>
<br /><br />

Make the text <font face="courier, serif, 'sans serif',script">A DIFFERENT STYLE</font>

<br /> (NB: This depends on the fonts you have installed!)
<br /> <br />

Make the text <font color="green">ANOTHER</font>     <font color="#9400D3">COLOUR</font>
<br /> (The latter is more controlled as it uses hex RBG)
<br />
<br /> Remember, this is good to learn but as soon as you understand it all, think about using style sheets.
<br /> (CSS Tutorial to follow)
<br />
<br /> <br />
</td></tr></table></center>

</body></html>

cut----------------------------------------------



See this code running in your browser