This forum is now read-only. Please use our new forums at

147 points
Submitted by
Jeanne Byrnes Funk
over 4 years ago

10/21 I can't get the DOCTYPE tag to work.

I've tried the DOCTYPE tag everywhere. This placement seems to be according to the example, but the error message says: Oops, try again. Add <!DOCTYPE html> on the first line before everything else.
I tried it at the VERY TOP, before the comment on #1, but the error message says: Oops, try again. Do not replace your "<head>" tag. You just need add <!DOCTYPE html> before it.

<!-- I'm a comment. You won't actually see me on the web page.
     You should write your header in the line below me! -->
**<!DOCTYPE html>**
     h1 {
         text-align: center;
     p {
        text-align: center;
     body {
        text-align: center;
 <h1>Jeanne B. Funk</h1>
 <p> I'm a Writer/Writing Coach and I love learning new things and exploring new ideas.</p>
 <input type="email"placeholder= "Email"
 <input type="submit

3 votes


Hi. I had the same problem and i just deleted the comment on the first two lines. Then add the doctype tag to the first line\

85 points
Submitted by
over 4 years ago


55df2afa95e3787b9200005e_359368177 Judy over 4 years ago

I'm surprised that you had a comment on your first line Habos! Back in 5/21, that should have been pushed the comment to line 2 at the very least. Each of the next few lessons would have pushed it down further until eventually it ends up in your body tag where it belongs.

092fcc7939f82c46361277db93e92a95?s=140&d=retro Kingdura over 4 years ago

@Habos your idea did work for me. Thanks

1 vote


Your line 1 and line 2 must be these two lines:

<!DOCTYPE html>

3698 points
Submitted by
over 4 years ago


5332bf72548c35865a00266f_372259560 Ravi Shekhar Singh over 4 years ago


55df2afa95e3787b9200005e_359368177 Judy over 4 years ago

You're welcome Ravi.

78707c5a42feee89acab565a0ccacb5e?s=140&d=retro Krista Brashear over 4 years ago

tried this; doesnt work?

55df2afa95e3787b9200005e_359368177 Judy over 4 years ago

Krista, really? Are you sure you don't have ANYTHING else on lines 1 or 2 -- like a comment maybe? Copy/paste all of your code after clicking on the green "Ask a question" button so we can have a look!

530f1029282ae3d918003e46_730776466 Phoebe Wallington over 4 years ago

That worked thanks!