Skip to main content

HTML5 Features - No More Types for Scripts and Links

4. No More Types for Scripts and Links

You possibly still add the type attribute to your link and script tags.
  1. <link rel="stylesheet" href="path/to/stylesheet.css" type="text/css" />  
  2. <script type="text/javascript" src="path/to/script.js"></script>  
This is no longer necessary. It’s implied that both of these tags refer to stylesheets and scripts, respectively. As such, we can remove the type attribute all together.
  1. <link rel="stylesheet" href="path/to/stylesheet.css" />  
  2. <script src="path/to/script.js"></script> 

Comments

  1. Making Money - Work/Tennis: The Ultimate Guide
    The way you would worrione.com expect from septcasino betting on the tennis matches of tennis 1xbet login is to bet on the player you like most. หาเงินออนไลน์ But you also need a 출장샵 different

    ReplyDelete

Post a Comment