InterviewSolution
| 1. |
What Is Wrongwith My <meta> Tags? |
|
Answer» If you are converting existing HTML documents to XHTML format, you may find some <META> tags are written as: <meta NAME="AUTHOR" content="wisdomjobs.com"> But all those <meta> tags are invalid in a XHTML document. They must be closed as: <meta name="Author" content="wisdomjobs.com"/> 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. If you are converting existing HTML documents to XHTML format, you may find some <meta> tags are written as: <meta name="Author" content="wisdomjobs.com"> But all those <meta> tags are invalid in a XHTML document. They must be closed as: <meta name="Author" content="wisdomjobs.com"/> 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. |
|