Current location: Hot Scripts Forums » General Web Coding » HTML/XHTML/XML » [SOLVED] Any idea what this validation error means?


[SOLVED] Any idea what this validation error means?

Reply
  #1 (permalink)  
Old 06-03-08, 04:27 PM
Shelby's Avatar
Shelby Shelby is offline
Newbie Coder
 
Join Date: May 2004
Location: 3rd rock from the sun
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
[SOLVED] Any idea what this validation error means?

I'm working through the validation of a page, and I don't understand this error message. Can someone make sense of this for me?

Here's the error message:
Quote:
Line 76, Column 93: document type does not allow element "a" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag.

…td2html.php?version=72&amp;jscript=0">View Verse of the Day</a>
Here's the section of code it refers to:
HTML Code:
<noscript>
 <a href="http://www.biblegateway.com/usage/votd/votd2html.php?version=72&amp;jscript=0">View Verse of the Day</a>
</noscript>
I'm trying to validate the page to XHTML Strict 1.0.
__________________
They have computers, and they may have other weapons of mass destruction. - Janet Reno
Reply With Quote
  #2 (permalink)  
Old 06-04-08, 02:50 AM
UnrealEd's Avatar
UnrealEd UnrealEd is offline
Community Liaison
 
Join Date: May 2005
Location: Antwerp, Belgium
Posts: 3,165
Thanks: 4
Thanked 25 Times in 25 Posts
It means that the a tag isn't allowed to be placed directly within the noscript tag. All a tags need to be placed inside on of these tags:
Quote:
"p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del"
So either wrap the a tag inside on of the tags above, or place something else inside the noscript tag
__________________
"Good judgement comes from experience, and experience comes from bad judgement." - Fred Brooks

Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
idea box mrmaxey Script Requests 1 06-30-07 12:44 AM
validation not working buzzby PHP 13 05-29-05 02:09 PM
Validation oracle_mik JavaScript 4 04-04-05 07:50 PM
Email Validation Broken? kvnband HotScripts Site Bug Reports 8 09-07-04 07:16 PM
From idea to inception at zero cost !!! JasonD General Advertisements 0 06-06-03 03:37 PM


All times are GMT -5. The time now is 09:01 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.