Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy W3c Validation confusion

    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…

    what are these and how can i solve them? thanks

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,618
    Thanks
    0
    Thanked 645 Times in 635 Posts
    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.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •