Things you need to know in HTML

HTML5 logo

Start and end the web page <HTML>  …..     </HTML>
Add a title <HEAD>

<TITLE>Blah</TITLE>

</HEAD>

Add a heading (different sizes) <H1>Hi</H1>

<H6>Hello</H6>

Make text bold and italic <STRONG>  </STRONG>

<EM>  </EM>

Add a web link <A HREF=“www.blah.com”>Blah</A>
Add an image (with alt text) <IMG SCR=http://www.blah.com/blah.jpg ALT=“Blah” HEIGHT=“100” WIDTH=“200”>
Make an ordered list (numbered list) <ol>
<li>First</li>
<li>Second</li>
<li>Third</li>
</ol>
Make an unordered list (bullet points) <ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
Add a table <table>

<tr>

<td>First Name</td>

<td>Last Name</td>

</tr>

<tr>

<td>Suzi</td>

<td>Smith</td>

</tr>

</table>

It is also useful to know the following older HTML code as some websites let you use it in text boxes:

<b>Bold</b>

<u>Underline</u>

<i>Italic</i>

<font color=”blue”>This text is blue</font>

<body bgcolor=”green”>
The background of this web page is green
</body>

Leave a Reply

Your email address will not be published. Required fields are marked *