Tools, FAQ, Tutorials:
Closing XHTML 'meta' Tags
What Is wrong with my <meta> Tags?
✍: FYIcenter.com
If you are converting existing HTML documents to XHTML format,
you may find some <meta> tags are written as:
<meta name="Author" content="FYICenter.com"> <meta name="Description" content="Tutorials, FAQs and Tips on XHTML Documents."> <meta name="Keywords" content="XHTML Tutorials, FAQs, Tips">
But all those <meta> tags are invalid in a XHTML document. They must be closed as:
<meta name="Author" content="FYICenter.com"/> <meta name="Description" content="Tutorials, FAQs and Tips on XHTML Documents."/> <meta name="Keywords" content="XHTML Tutorials, FAQs, Tips"/>
Note to HTML document authors: <meta> tag syntax in XHTML is the opposite to <meta> tag syntax in HTML. In XHTML, meta tag must be closed. But in HTML, meta tag can not be closed.
⇒ Entering HTML Element Content
2024-04-07, ∼3517🔥, 0💬
Popular Posts:
How to build a test service operation to dump everything from the "context.Request" object in the re...
How to login to Azure API Management Publisher Dashboard? If you have given access permission to an ...
Can Two Forms Be Nested? Can two forms be nested? The answer is no and yes: No. You can not nest two...
How to read RSS validation errors at w3.org? If your RSS feed has errors, the RSS validator at w3.or...
What is EPUB 3.0 Metadata "dc:description" Element? EPUB 3.0 Metadata "dc:description" is an optiona...