Valid <noscript> Tags For XHTML?

Discussion in 'HTML & Website Design' started by gobbly2100, Oct 24, 2007.

  1. #1
    Hey,

    Can someone tell me what the alternative for the <noscript> tag is for XHTML 1.0 Transitional because according to the W3 Validator it is not a valid tag for this document type?
     
    gobbly2100, Oct 24, 2007 IP
  2. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #2
    Progressive enhancement.

    Taken from Robert Nyman's site

    "This is the ultimate scenario. JavaScript is used to progressively enchance the functionality of the web site, but all the main functionality will work without it. When it comes to the noscript tag, it’s redundant. Instead, include the necessary elements or warning texts in the code that’s initially loaded, and then use JavaScript to hide them. Best!"

    http://www.robertnyman.com/2005/07/01/no-noscript-mkay/
    http://accessites.org/site/2007/02/graceful-degradation-progressive-enhancement/
    http://icant.co.uk/articles/from-dhtml-to-dom/from-dhtml-to-dom-scripting.html
     
    soulscratch, Oct 24, 2007 IP