Jump to content

[SOLVED] WIDTH" is not a valid attribute


otuatail

Recommended Posts

Hi I get an error here which should be valid.

 

http://validator.w3.org

<td width="100px">Revolt</td>

 

Attribute "WIDTH" is not a valid attribute. Did you mean "width"?

 

This can't be right can it. Not used capitals WIDTH

 

Desmond.

 

width inside the html or xhtml in a strict doctype is not valid ( does not matter if its html or xhtml )  unless its referring to an image or some other input media

 

you need to do one of 2 things, either you can replace the width"100px" with style="width:100px;" or you can reference it in the css

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.