http://www.webmasterworld.com Welcome to WebmasterWorld Guest from 38.107.191.102
register, login, search, glossary, subscribe, help, library, PubCon, announcements , recent posts, unanswered posts
Accredited PayPal World Seller
Home / Forums Index / Browser Side World / HTML and Browsers
Forum Library : Charter : Moderators: incrediBILL & tedster

HTML and Browsers

  
Validator says: SHORTTAG YES must be specified
d1n1_81


#:592288
 3:27 pm on Mar. 13, 2005 (utc 0)

Hi there,

In some of the content of one of my pages, when validating I get the following problem:

Line 73, column 53: the name and VI delimiter can be omitted from an attribute specification only if SHORTTAG YES is specified

<input name="17th_April_" type="radio" checked value="Available" />

This is part of a form with some checkboxes and the issue seems to be with assigning some of the checkboxes to appear already 'checked'. Can you advise on how I can correct this problem?

Any speedy help will be greatly appreciated - I have been trying for quite a while to solve this but have been unable to.

Many thanks in advance,
D1n1_81

<Sorry, no personal URLs.
See Terms of Service>

[edited by: tedster at 3:45 pm (utc) on Mar. 13, 2005]

encyclo


#:592289
 7:20 pm on Mar. 13, 2005 (utc 0)

Are you using HTML 4.01? If so, you should remove the trailing slash, as that is only used in XHTML. The validator's error message, whilst technically correct, is pretty obtuse.

<input name="17th_April_" type="radio" checked value="Available">

Captaffy


#:592290
 10:25 pm on Mar. 13, 2005 (utc 0)

Instead of just checked, try checked="checked"

In fact, I'm pretty sure that's the problem.
The error is saying that you can't use the short version of that attribute with the currrent doctype.

encyclo


#:592291
 1:02 am on Mar. 14, 2005 (utc 0)

Thanks for the correction, Captaffy, I believe you're quite right. Just ignore what I said, d1n1_81! :)

 

Home / Forums Index / Browser Side World / HTML and Browsers
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
WebmasterWorld ® and PubCon ® are a Registered Trademarks of WebmasterWorld Inc.
© WebmasterWorld Inc. / SearchEngineWorld 1996-2009 all rights reserved