[WSG] Validator Question re SHORTTAG YES
I'm not sure what this means actually. This is from a table in my code which is for tabular data, not for layout. ??? Am I correct in assuming that the validator does not like the 'nowrap'? And that probably being the case, and since I do need it, is there some other betther method for pulling this off? From http://validator.w3.org/: 2. Line 65, column 23: the name and VI delimiter can be omitted from an attribute specification only if SHORTTAG YES is specified Updated * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help *
Re: [WSG] Validator Question re SHORTTAG YES
Vaska.WSG spoke the following wise words on 4/05/2004 11:47 PM EST: Am I correct in assuming that the validator does not like the 'nowrap'? And that probably being the case, and since I do need it, is there some other betther method for pulling this off? Yep and yep. You want nowrap="nowrap". Likewise for disabled="disabled", checked="checked" and noshade="noshade". If you want an explanation: XML requires all attributes to be in the attribute="value" format. SHORTTAG is a remnant from SGML (of which HTML is a subset of). -- tim lucas www.toolmantim.com * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help *
Re: [WSG] Validator Question re SHORTTAG YES
> I'm not sure what this means actually. This is from a table in my code > which is for tabular data, not for layout. ??? The validator won't know if a table's used for tabular data or for layout, so this doesn't come into it. > Am I correct in assuming that the validator does not like the 'nowrap'? > And that probably being the case, and since I do need it, is there > some other betther method for pulling this off? > > > 2. Line 65, column 23: the name and VI delimiter can be omitted from > an attribute specification only if SHORTTAG YES is specified > > Updated Try nowrap="nowrap" Patrick Patrick Griffiths (PTG) http://www.htmldog.com/ptg/ http://www.htmldog.com * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help *
Re: [WSG] Validator Question re SHORTTAG YES
Vaska.WSG spoke the following wise words on 4/05/2004 11:47 PM EST: Am I correct in assuming that the validator does not like the 'nowrap'? And that probably being the case, and since I do need it, is there some other betther method for pulling this off? Yep and yep. You want nowrap="nowrap". Likewise for disabled="disabled", checked="checked" and noshade="noshade". If you want an explanation: XML requires all attributes to be in the attribute="value" format. SHORTTAG is a remnant from SGML (of which HTML is a subset of). -- tim lucas www.toolmantim.com * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help * * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help *