Unexpected end tag | SoloLearn: Learn to code for FREE!

0

Unexpected end tag

There is an error in my code which is Unexpected end tag (ignored) and I don't know how to fix it. My code looks something like this: <html> <head> testing </head> </html> What am I doing wrong?

6/25/2019 6:33:55 PM

Addie

2 Answers

New Answer

+13

<head> Tag is a container for non-visual elements... <title> Tag is a (you needed everytime) is the title for the document.... So testing is the title of your program? Then put it between <title> tag. <title> testing </title>

+5

Testing should not go between the head tag like that. It should go between the title tags within the head tag. <!Doctype html> <html> <head> <title>testing</title> </head> </html>