Jump to content

W3c validation for sapcer


vijay

Recommended Posts

Hi.. In html page am writing the code for spacer as following.. w3c validator indicate me err.. for all 3 things.. there is no attribute "TYPE". there is no attribute "HEIGHT". element "SPACER" undefined. So may I know where I have to spcify this tag so I wont get any err. have also try via creating table and putup in to between <td> still not get any luck w/o that tag.. m not getting any err. guide me... Regards,Vijay <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>Untitled Document</title></head><body><spacer type="vertical" height="4"></spacer></body></html>

Link to comment
Share on other sites

That may be so, but the <spacer> element was only ever supported by Netscape, does not appear in any HTML DTD, and is completely deprecated now. What is wrong with divs and CSS?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...