What Happens If a META Element Is Not Closed
What Happens If a META Element Is Not Closed? - XHTML 1.0 Tutorials - Document Structure and Head Level Tags
Meta tags, link tags and base tags must be closed in XHTML documents. If you forget to close them like the HTML format, you will get validation errors. Try the following tutorial sample XHTML document on http://validator.w3.org/ to see what types of errors you will get:
You will get this error:
Error Line 8 column 46: end tag for "meta" omitted, but OMITTAG NO was specified. <meta name="Author" content="FYIcenter.com"> You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
Note to HTML 4.0 authors, you must close meta elements in XHTML 1.0. This is the opposite of HTML 4.0, where you must not close meta elements.
2007-05-12, 4985👍, 0💬
Why is there extra white space before or after tables? This is often caused by invalid HTML syntax. ...
What are the high-level thread states? The high-level thread states are ready, running, waiting, and...
How do we get the current culture of the environment in windows and ASP.NET? “CultureInfo.CurrentCul. ..
What Happens If a Hyper Link Points to a Music File? - XHTML 1.0 Tutorials - Understanding Hyper Lin...
How To Select All Columns of All Rows from a Table? - MySQL FAQs - SQL SELECT Query Statements with ...