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 6 of 6

Thread: Validation Help

  1. #1
    New Coder
    Join Date
    Jun 2009
    Posts
    15
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Validation Help

    need some help with iframe errors please

    http://validator.w3.org/check?uri=ht...%2C*%3Bq%3D0.7
    Last edited by inta; 06-07-2009 at 08:58 PM.

  • #2
    Regular Coder Kristofa's Avatar
    Join Date
    Jun 2009
    Location
    Leicester
    Posts
    143
    Thanks
    7
    Thanked 20 Times in 20 Posts
    Your page is strict xHTML 1.0, therefore you need to write iframe in lowercase rather than uppercase no?

  • Users who have thanked Kristofa for this post:

    inta (06-07-2009)

  • #3
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,313
    Thanks
    203
    Thanked 2,564 Times in 2,542 Posts
    The validator indicates the errors and explains how to fix them.

    For example,remember that XHTML is all lower-case.

  • Users who have thanked Philip M for this post:

    inta (06-07-2009)

  • #4
    New Coder
    Join Date
    Jun 2009
    Posts
    15
    Thanks
    6
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Philip M View Post
    The validator indicates the errors and explains how to fix them.

    For example,remember that XHTML is all lower-case.
    ok thank you i changed them to lower case which got rid of a few errors
    but im not sure how to fix the one they it says
    "Line 232, Column 15: Attribute "src" exists, but can not be used for this element."
    surly i need this for the i frame to work

    ps i new to coding

  • #5
    Regular Coder Kristofa's Avatar
    Join Date
    Jun 2009
    Location
    Leicester
    Posts
    143
    Thanks
    7
    Thanked 20 Times in 20 Posts
    Think I've found the problem.

    The iframe element is not supported in HTML 4.1 Strict DTD and in XHTML 1.0 Strict DTD.
    Don't have too much experience of iframes, maybe try using an <object> tag instead?
    Last edited by Kristofa; 06-07-2009 at 06:52 PM. Reason: Broken BBCode

  • Users who have thanked Kristofa for this post:

    inta (06-07-2009)

  • #6
    New Coder
    Join Date
    Jun 2009
    Posts
    15
    Thanks
    6
    Thanked 0 Times in 0 Posts
    can anyone else shed some light?


  •  

    Posting Permissions

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