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


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


2 Answers

New Answer


<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>


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>