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, ∼2514🔥, 0💬
Popular Posts:
How to add request URL Template Parameters to my Azure API operation to make it more user friendly? ...
How to use "json-to-xml" Azure API Policy Statement? The "json-to-xml" Policy Statement allows you t...
How to use "{{...}}" Liquid Codes in "set-body" Policy Statement? The "{{...}}" Liquid Codes in "set...
Can You Add Values to an Array without Keys in PHP? Can You Add Values to an Array with a Key? The a...
How to convert JSON Objects to PHP Associative Arrays using the json_decode() function? Actually, JS...