...

View Full Version : W3c Validation confusion



lisamariexo
08-08-2012, 03:00 PM
i am validating this page http://www.ln-backups.co.uk/partsexport/about-us.php and these errors come up;

Line 162, Column 15: there is no attribute "width"
<iframe width="230" height="230" frameborder="0" scrolling="no" marginheight="0...

Line 162, Column 28: there is no attribute "height"
<iframe width="230" height="230" frameborder="0" scrolling="no" marginheight="0...

Line 162, Column 46: there is no attribute "frameborder"
… width="230" height="230" frameborder="0" scrolling="no" marginheight="0" marg...

Line 162, Column 60: there is no attribute "scrolling"
…eight="230" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" sr…

Line 162, Column 78: there is no attribute "marginheight"
…order="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.goo…

Line 162, Column 94: there is no attribute "marginwidth"
…ing="no" marginheight="0" marginwidth="0" src="http://maps.google.co.uk/maps?f…

Line 162, Column 102: there is no attribute "src"
… marginheight="0" marginwidth="0" src="http://maps.google.co.uk/maps?f=q&amp;s…

Line 162, Column 418: element "iframe" undefined
…amp;z=14&amp;iwloc=A&amp;output=embed"></iframe><br /><small><a href="http://m…

:confused: what are these and how can i solve them? thanks :thumbsup:

felgall
08-08-2012, 11:25 PM
HTML 4 introduced the <object> tag back in 1997 as a replacement for the <iframe> tag.

CSS introduced at about the same time meant that many of the attributes originally proposed for the iframe tag (the ones you are using there) were all made unnecessary having been replaced by CSS.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum