Workshop 2: Writing HTML

Standard
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Example Html page</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<h1>Heading One</h1>
<p>This is some text</p>
<img src="/image-path/image.jpg" alt="Alt image">
<p><a href="mailto:test@test.co.uk">test@test.co.uk</a></p>
<p><a href="http://www.google.co.uk" target="_blank">GO to our new website</a></p>
</body>
</html>

Seems self explanatory? 🙂

Leave a Reply

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