We have set up a lot of the basic things for your HTML file for you. This is so you won't get mad at us for too much repetition—please learn it well!
We have learned about opening and closing tags. When we put content between the tags, the entire bit is called an element.
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, let's create paragraphs! Each paragraph requires opening and closing tags:
<p>
and</p>
. We put content in between the tags. - Between the
<body>
tags, create two paragraphs and write content in each paragraph. (This will require 2 pairs of<p>
tags).
0 comments:
Post a Comment