ERROR unerq)ected tag: </html> ERROR unclosed tagr: <body> ERROR uncloeed tag: <tible>ERROR unclosed tag: <head>ERROR uncl"oaed tag: <html,>The reason that there are two error messages for </head> are because neither </head> tag seen matches the mostrecently opened tag at the time, which is <title>. The four unclosed tags at the end represent the fact that those four tags didn't have a closing tag in the right place (or, in some cases, no closing tag at all).Because of the simplicity of our algorithm, a single mistake in the HTML can result in multiple enor messages. Near theend of the file is a </html-> tag, but this is not expected because body, title, and head were never closed. So thealgorithm prints many errors, including that the html tag is unclosed, though really the problem is that the html tag was closed
This is the end of the preview. Sign up
access the rest of the document.