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, ∼3412🔥, 0💬
Popular Posts:
How to build a PHP script to dump Azure AD 2.0 Authentication Response? If you are use the Azure-AD-...
What Happens If One Row Has Missing Columns? What happens if one row has missing columns? Most brows...
Can Multiple Paragraphs Be Included in a List Item? Yes. You can include multiple paragraphs in a si...
How to use the "send-one-way-request" Policy statement to call an extra web service for an Azure API...
How To Open Standard Output as a File Handle in PHP? If you want to open the standard output as a fi...