Friday 20 April 2018

HTML Tags Revision

Here are the tags we used in the HTML unit and you need to remember!


To start and end the program   <html> </html>


To create a labelled ‘internet’ tab at the top of the page
<head>
<title>    </title>
</head>


To make a main heading on the page  <h1> </h1>


To make a sub-heading on the page <h2>   </h2>


To make a new paragraph   <p> </p>


To make a line break  <br> There is no closing tag for this one


To change the font style   <font face =”name of font”> </font>


To change the size of font  <font size = “size of font”>  </font>


To change the colour of font < font color=”colour name or hexadecimal code”>   </font>


To align the font on the page (ie left, centre or right)  <font align = “position”>   </font>     Remember to spell it ‘center’  - American style!


To add an image <img src=”image address”>    </img src>


To add a hyperlink to aother page <a href = “name of page”>    </a>


To embolden the font <b>   </b>


To turn the font italic <i>   </i>


To underline the font <u>   </u>

No comments:

Post a Comment