We have set up a lot of the basic things for your HTML file for you.
We have learned about opening and closing tags. When we put content between the tags, the entire bit is called an element.
element = <opening tag> + content + <closing tag>
Notice we have both title tags now, but we need
<body>
tags. The content in the body is what will be visible on the actual page. The body goes inside the html tags, but not inside the head tags, like this:<html>
<head></head>
<body></body>
</html>
Instructions
- Between the title tags, give your page a name. It can be anything!
- Underneath the closing
</head>
tag, put in the opening and closing<body>
tags. - Inside the body, create two paragraphs! Each paragraph requires opening and closing tags:
<p>
and</p>
. We put content in between the tags.