HTML Summary



Element

Function  

<a>

Anchor element for creating links

<address>

Insert an address

<b>

To create bold text

<body>

Describes the visible parts of the web page

<blockquote>

Insert a quote from another source

<br />

Break element to create vertical white space

<caption>

Inserts a Caption to a table

<h1>

Heading element. Size varies from 1 to 6

<head>

Head section

<html>

Describes the document as a HTML web page

<i>

To create italicised text

<img>

To insert an image

<hr />

To insert an horizontal line

<li>

To create a list item

<link>

Link to a Cascading Style Sheet

<ol>

To create an ordered list

<p>

To create a paragraph of text

<table>

To create a table

<title>

To create a title for the web page

<td>

Inserts Table data

<th>

Inserts a Table Heading

<tr>

Inserts a Table Row

<u>

To create underlined text

<ul>

To create an unordered list



Attribute

Function  

align=

Used to align text or images

alt=

Adds alternate text to an image should the image not load

border=

Add a border to an element

height=

Adjust the height of an image

href=

Describes a link destination or reference

id=

???

meta name=

Search engine information

src=

Describes the source of an image

style=

Used to style text in terms of font, colour and size.

title=

Adds a title to an image



Entities

Function  

&amp

ampersand

&copy

Copyright

&gt

Greater than

&lt

Less than

&nbsp

Non-breaking Space

&pound

Pound Sterling