iframe

Discussion in 'HTML & Website Design' started by myrnakelisd, Feb 18, 2010.

  1. #1
    should i use iframe ? what r the drawbacks !!
     
    myrnakelisd, Feb 18, 2010 IP
  2. unkn000wn

    unkn000wn Member

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
  3. chaukar

    chaukar Peon

    Messages:
    220
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Only use it if you can't find another solution.
     
    chaukar, Feb 20, 2010 IP
  4. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #4
    No, No, and NO!

    iFrame is an accessibility /FAIL/ since the user cannot see the actual URL to what's being displayed, wastes bandwidth for stuff you should probably be inlining, and opens the door to XSS exploits if the content of the iframe is off-site (like adverts).

    To top it off, it's deprecated in STRICT doctypes, and you SHOULD be writing in STRICT. Tranny is for supporting old, outdated half-assed bullshit code by people who haven't updated their skills in the past decade; NOT for writing new code.
     
    deathshadow, Feb 20, 2010 IP