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, ∼3972🔥, 0💬
Popular Posts:
Where to find tutorials on Python programming language? I want to learn Python. Here is a large coll...
How to Build my "sleep" Docker image from the Alpine image? I want the container to sleep for 10 hou...
How to access Query String parameters from "context.Request.Url.Que ry"object in Azure API Policy? Q...
How to run PowerShell Commands in Dockerfile to change Windows Docker images? When building a new Wi...
How to create a new API on the Publisher Dashboard of an Azure API Management Service? If you are ne...