MMDT1021 Chapter 2 Notes - page 2

Starting Your Web Page

Code Page
<html>



</html>
Result
Source

 

Add the Head

Code Page
<html>

<head>
    <title>This is my page title</title>
</head>


</html>
Result
Source

 

Add the Body

Code Page
<html>

<head>
    <title>This is my page title</title>
</head>

<body>

<h2>This is a heading</h2>

This is where I put the body of my page.
</body>

</html>
Result
Source