I was trying to validate a CSS stylesheet and I got this error; The element type "meta" must be terminated by the matching end-tag "</meta>". What does that mean? I tried to put "</meta> at the end of the line that it wanted me to but that doesn't seem to work. Thoughts?
Try changing your meta tags to look like this: <meta name="keywords" content="fricken awesome webpage" />
That's one of the many things it looks for. I just noticed you said meta tags in your CSS file. Is that what you meant to say? (maybe you meant that the meta tag in your html file that includes the css file had the problem?) For XHTML, tags have to be closed. That means you use <p></p> rather than just <p> as an example. Some tags don't contain anything, so they are self-closing. For instance, a line break: <br /> For HTML4, you don't do this. If you are validating an (x)html page, your DOCTYPE tells the validator what type of page it is.
I meant to say that my css style is embedded within my html page. I'm just testing this layout so that is why it's embedded. does that help?
Yeah, that makes more sense You may be interested in reading the W3 Schools pages about XHTML. If you do the majority of your testing in Firefox, there are a lot of extensions that are helpful too. Check out the HTML Validator and the Web Developer ones for starters.