1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

HTML5 The Templates Coding

Discussion in 'Web Development' started by ishkey, Mar 12, 2012.

  1. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    I noticed all the new templates start out this way.

    <!DOCTYPE html>
    <!-- Website template by freewebsitetemplates.com -->
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>Her Designs</title>
    <link rel="stylesheet" href="css/style.css" type="text/css" />
    <!--[if IE 6]>
    <link rel="stylesheet" href="css/ie6.css" type="text/css" />
    <![endif]-->
    <!--[if IE 7]>
    <link rel="stylesheet" href="css/ie7.css" type="text/css" />
    <![endif]-->
    </head>

    If I understand the new HTML5 standards and IE, the second line due to the comment command
    <!-- Website template by freewebsitetemplates.com -->
    will break IE and it will display in the Quirks mode which I believe is IE 7.5 therefore you have no need for the so called fix
    <!--[if IE 6]>
    <link rel="stylesheet" href="css/ie6.css" type="text/css" />
    <![endif]-->
    <!--[if IE 7]>