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, ∼3619🔥, 0💬
Popular Posts:
How to login to Azure API Management Publisher Dashboard? If you have given access permission to an ...
How To Remove Slashes on Submitted Input Values in PHP? By default, when input values are submitted ...
How To Avoid the Undefined Index Error in PHP? If you don't want your PHP page to give out errors as...
Where to find tutorials on EPUB file format? I want to know how to create EPUB books. Here is a larg...
How To Read a File in Binary Mode in PHP? If you have a file that stores binary data, like an execut...