Skip to main content

Text

Text can be typed anywhere within the body, but sometimes you may need to change the font face type, formatting, position, size and colour. You can do this using the font tag <font></font>. Here's an example:

 
<font face="comic sans ms" size=2 color="red">Hello Mum</font>
 

You may even want your text to be bold, italic or underlined:

To make text bold

 
<b>hello mum</b>
 

To make text italic

 
<i>hello mum</i>
 

To centre text

 
<center>hello mum</center>
 

To create paragraphs

 
<p>hello mum</p>
 

To create a line break

 
<br/>
 


Next: Text Example