Posted By

LeeRJohnson on 08/17/10


Tagged

script style content text meta content-type docstruct


Versions (?)

Legacy Meta Content Types HTML4 and XHTML1


 / Published in: HTML
 

Line 1 is obsolete in HTML5 since the meta tag supports the charset attribute.\r\nLine 2 and 3 are obsolete in HTML5 since the type for style and script tags is implied for both, respectively.

  1. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  2. <meta http-equiv="Content-Style-Type" content="text/css" />
  3. <meta http-equiv="Content-Script-Type" content="text/javascript" />

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: LeeRJohnson on August 26, 2010

Line 2 and 3 are obsolete in HTML5 since the type for style and script tags is implied for both, respectively.

You need to login to post a comment.