www.webdeveloper.com
Results 1 to 3 of 3

Thread: Validation problem

  1. #1
    Join Date
    Mar 2007
    Posts
    2

    Validation problem

    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

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Escape the characters in the anchor:
    Code:
    <textarea name="SiteDesc" rows="7"cols="60">&lt;a href="#"&gt; site name&lt;/a&gt; </textarea>

  3. #3
    Join Date
    Mar 2007
    Posts
    2
    Thank you for the answer to my problem.

    Robert

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles