Click to See Complete Forum and Search --> : Validation problem


rediceman8
03-23-2007, 11:50 PM
I am new to this:

I am using Doctype: XHTML 1.0 Strict and I get the error document type does not allow element "a" here. <textarea name="SiteDesc" rows="7"cols="60"> <a href="”> site name</a>

I am using this for others to copy and paste my link code to their site. Is there something other than the above textarea code for me to use so that I do not get this one error "Failed validation, 1 error" when I check my site page with W3C QA Website.

Thanks Robert

Fang
03-24-2007, 01:33 AM
Escape the characters in the anchor:<textarea name="SiteDesc" rows="7"cols="60">&lt;a href="#"&gt; site name&lt;/a&gt; </textarea>

rediceman8
03-24-2007, 02:06 AM
Thank you for the answer to my problem.

Robert