Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9134349
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:38:38+00:00 2026-06-17T08:38:38+00:00

We are writing site logic which its design was made by another company. (they

  • 0

We are writing site logic which its design was made by another company. (they sent us the html files)

However when we looked at their source code html we saw:

1) modernizr.js

2) creation of html5 element scripts :

<!--[if lt IE 9]>
       <script>
          document.createElement('header');
          document.createElement('nav');
          document.createElement('section');
          document.createElement('article');
          document.createElement('aside');
          document.createElement('footer');
       </script>
    <![endif]-->

3) Html5 shiv JS :

<!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

4) reference to css3-mediaqueries.js for media queries

5) Respond.js v1.1.0 min/max-width media query

I don’t know much about html5 integration , but I think there are a redundant components here.

For example I heard that modernizr already includes the solution which html5 shiv provides.

As an assumption which I want to use modernizr.js , What components should I keep ? ( I tagged each section with numbers so it will be easier to you to reference).

(p.s. this question didnt help much cause I have much more sections)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T08:38:39+00:00Added an answer on June 17, 2026 at 8:38 am

    Together all of these have the purpose to do two things:

    1. Enable HTML5-elements to be rendered in legacy browsers (1, 2 and 3)
    2. Enable CSS media-queries in older browser (4 and 5)

    The way they are used today, in your example, you will have a lot of overlapping functionallity, which is unnecessary. My take on this is as follows.

    HTML support

    If you will be using Modernizer for other purposes than just enabeling HTML5-elements in older browser, then I suggest that you use only Modernizer and remove 2 and 3 as Modernizer include the HTML5 shiv.

    If you won’t be using Modernizer, it might be unnecessary to load the entire library. Then you might be better off using HTML5 shiv only, with the conditional IE-comment.

    Using no. 2 seems totally redundant, if you use either 1 or 3.

    Media-query support

    When it comes to 4 and 5, they both work to enable responsive web sites in older browser, by adding support for media queries in browser that lack native support.

    I only have personal experience of Respond.js, which is very light-weight. The limit is that it will only add support for the min/max-width media queries. If that is enough for your design, then no. 5 will be sufficient.

    If you need more extensive media queries support, I believe you need to look in to no. 4 instead, but then I guess you can get rid no. 5, as it will be redundant.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing some application logic which can recognize malformed or malicious http post
I am currently writing a site that will require a login to use. I
I am writing a site using jquery that repeatedly calls $(window).width() and $(window).height() to
I am writing simple site that requires users and profiles to be handled. The
I’m writing a web site targeted at the iPhone. I’d like to set a
I'm writing a web site (C#, ASP 3.5) while implementing a simple CMS. In
I am writing a diagnostic site to test our server methods. One of the
I'm writing a portfolio site and I plan to annotate work with accompanying code,
Re-writing a photography portfolio site, and urls have to follow the format: [site].com/portfolio/[category]/[image] to
I've just started writing a reasonably straightforward site using sinatra. My problem is that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.