Introduction to HTML
Webpage Structure
All Web Pages will have the following structure.
<html>
<head>
<title> Page Title (Browser Tab)
</title>
</head>
<body>
Page Content, goes in Body
</body>
</html>
Common HTML Tags
Here are some common HTML Tags.
Tells the browser the document is
<html> </html>
written in html
Creates the header of the page – not
<head> </head>
the heading
<title> My First Page </title> Displays this title in the browser tab
<body> </body> The page content goes in the body tag
<H1> Text </H1> Make the text a Heading
<p> Some Text </p> Make the text a paragraph
<b> More Text </b> Make the text bold
<i> Yet More Text </i> Make the text italic
<center> Yet Again, More Text Aligns the text in the centre of the
</center> page
<img src=“ ”> Insert an image
<a href=“ ”> Link Text </a> Insert a hyperlink
<table> </table> Creates a table
<th> </th> Creates a table heading
<tr> </tr> Creates a table row
<td> </td> Creates a table