I am a beginner CSS student. I have just completed my first website and posted it. See http://www.my-home-health.info. It was hand coded for the html and I am using Style Master plus hand coding for the CSS.
The Doc:type is "strict"
I am trying to validate this page and am getting the above error.
I tried the suggestion elsewhere in this forum of using the <: which only doubled the errors.
Thanks for your input.
Hi Darlene,You're using an
You're using an xhtml doctype. XHTML does not allow for unclosed elements. In the case of the meta element, along with others such as br and img, we have empty elements, so there are no explicit closing tags. Compare to
<p>...</p>.For that reason, we "self close" the tag, e.g.
<meta name="author" content="D. Isberg" />
Many Thanks Gary. I am
Many Thanks Gary.
I am happy to announce the subject website has now been validated.
If I had read the Sticky Post in the "How To" section before I created the website I would have known to validate the web pages as I progressed rather than waiting for the completion of the website.
Now I have the task of amending all the other web pages which are part of the website as they too are inaccurate.
Actually, I think I am very lucky as I thought I would be ripped apart in the validating process as I had been when I used Microsoft FrontPage editor in my old life. This was the only issue, excepting for the special "htmltag" for the top of the page which I knew nothing about.