SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Threaded View

  1. #1
    SitePoint Member
    Join Date
    Jul 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Struggling to get html5 to work with IE version 8 and old, please help!

    Hi all, Iím a newbie who just been learning html and css and building my first site for about a month or so and to date Iíve managed to solve all of the issues that Iíve come up against. However, Iíve been stuck on how to use html5 on my site and have IE versions 8 and older play along for a few days now. Assuming that my css is correct (a big assumption I know but I guest that this part of the form is just for html), it would be great if you could cast an expert eye over the below html and let me know if there is anything wrong with it in terms of IE version 8 and older not playing along (by the way with the associated css it works fin in other browser):

    HTML Code:
    <!DOCTYPE html>
    <html lang="en">
      <header>
        <title>[noparse]www.example.com[/noparse] - Home.</title>
        <meta charset="utf-8" />
        <!--[if lt IE 9]>
          <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
        <link href="style2.css" rel="stylesheet" type="text/css"/>
      </header>
      <body>
       <nav>
            <a href="www.examplea.html" <span class="example-a">Example A</span></a>      
            <a href="www.exampleb.html" <span class="example-b">Example A</span></a>
            <a href="www.examplec.html" <span class="example-c">Example A</span></a>
       </nav>
    </body>
    </html>
    Last edited by SpacePhoenix; Jul 18, 2012 at 13:35. Reason: placed html tags around code


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •