Here is an example. I would like other web masters to link to my site and just copy and paste my link so they can easily link to my site. I've seen other webs do this but none that were written in xhtml. Unfortunately this does not validate...
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)
That would have been my suggestion as well. I don't think the validator will choke if your code in the textarea are HTML equivalent characters instead of actual code.
Yes, you're right and I did read it thoroughly but I am an amateur that has never studied computers and have made my site solely by reading tutorials. I simply did not understand that php but after a few months of tutorials I have gotten a grasp on xhtml.
brolly wrote:Yes, you're right and I did read it thoroughly but I am an amateur that has never studied computers and have made my site solely by reading tutorials. I simply did not understand that php but after a few months of tutorials I have gotten a grasp on xhtml.
That is perfectly acceptable, but instead of ignoring his solution you could perhaps ask us to elaborate if you are still confused No biggie.