Here's the code
<p id="LABELa">CATEGORY</p> <p id="LABELb">LOCATION</p> <p id="LABELc">SEARCH</p>
The W3C Validator says that the > between
LABELa">CATEGORY has something wrong with it. I don't see what is wrong though.
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
without seeing the rest of the code online, i can only guess, but i'd assume that you have the parent of those P elements being an inherently inline element? something to look for. please post the full page so we can peek at the backend, even if it's a rendered copy without client branding.
We would need to see what comes before and after the P element in order to answer. Also, what DTD are you validating against?
The most common answer to that particular validation error is that you are missing a closing tag somewhere BEFORE the line where the validator chokes. Try to find the "leaking" element and you should be on your way.