thekin
1
Tell us what’s happening:
Your code so far
<!DOCTYPE html>
<head>
<h1>websites are awesome!</h1>
</head>
Your browser information:
User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
.
Challenge: Declare the Doctype of an HTML Document
Link to the challenge:
Welcome to the Forum!
The challenge requires html
tags instead of head
tags.
It should also be noted that you shouldn’t put h1
(or any other element that is meant to appear on the page) inside the head
of the document.
They are instead meant to go between the opening and closing tags of the body
as such:
<body>
<h1>This is a heading!</h1>
<p>This is a paragraph</p>
</body>