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 6010107
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:04:09+00:00 2026-05-23T02:04:09+00:00

Should the reference to the Modernizr JavaScript file be in the head of the

  • 0

Should the reference to the Modernizr JavaScript file be in the head of the page? I always try and place all scripts on the bottom of the page and would like to preserve this. And if it needs to be in the head, why?

  • 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-05-23T02:04:10+00:00Added an answer on May 23, 2026 at 2:04 am

    If you want Modernizr to download and execute as soon as possible to prevent a FOUC, put it in the <head>

    From their installation guide:

    Drop the script tags in the <head> of
    your HTML. For best performance, you
    should have them follow after your
    stylesheet references. The reason we
    recommend placing Modernizr in the
    head is two-fold: the HTML5 Shiv (that
    enables HTML5 elements in IE) must
    execute before the <body>, and if
    you’re using any of the CSS classes
    that Modernizr adds, you’ll want to
    prevent a FOUC.

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

Sidebar

Related Questions

How should I reference my css file (which is in the non-secure area) from
If assembly A (which is executable) references assembly B, should it reference all assembly
How should I correctly reference protocols on a UML class diagram? For example my
Should Singleton objects that don't use instance/reference counters be considered memory leaks in C++?
Should a business object contain a reference to other objects (as in the id
In which case should you use primitive types( int ) or reference types (
The question is if a database connection should be passed in by reference or
Possible Duplicate: Difference between pointer variable and reference variable in C++ When should I
The documentation of System.Threading.Timer says that I should keep a live reference for it
Refer original post here for a reference to the original issue. What plugin should

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.