!DOCTYPE error


#1

Hi,
I have been coding for more than 16 years and decided to work through these lessons before giving them to my beginning web design class. Second 2nd where it asks for us to enter <!DOCTYPE> in the first line I receive an error message to add my !DOCTYPE and my typing is in red. IF I put a space between the ! and DOCTYPE, that line turns to white but still throws an error message saying I need to add !DOCTYPE.

Can you help?

Thank you,

Laura


#2

Hi!

Can you confirm if you tried it this way?

<!DOCTYPE html>

Better still, you could attach link to exercise.

Thanks!


#3

Hi,

This is the code that I currently have in. Hope this helps. I did close the
tags even though the instructions on the side didn’t include that. NOR do
the instructions ask that html be a part of the !DOCTYPE.

Laura


#4

It could have something to do with the test written for this exercise. Kindly place the title tag on the same line and insert some text, like below.


<title>Laura</title>

Let me know if this helps!


#5

Hi,

The original Doctype was still in read when I changed the title line. Very
interesting! I’d really like to have my students use this as supplemental
material in my Web Design class if I can figure out why it is giving the
results it is, because I suspect they will have the same issue.

Laura


#6

Uhmm… Okay!

All the best. :wink:


#7

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.