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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:11:51+00:00 2026-05-27T12:11:51+00:00

It has been stated that in HTML 5 it’s OK to use script -tags

  • 0

It has been stated that in HTML 5 it’s OK to use script-tags for Javascript without any attributes, like this:

<script>
  // the javascript here
</script>

With other features in HTML 5 you can use different kind of poly-fills to bridge what old browsers don’t know about HTML 5, but can above script-tag have any side-effect in any old browser?

UPDATE: Let’s set the limit at IE6 and above, along with Firefox 2 and above, to have something concrete.

  • 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-27T12:11:52+00:00Added an answer on May 27, 2026 at 12:11 pm

    This is fine everywhere – the default value for type is the one you’d type anyway, as interpreted by browsers. I’ve used this on every site I’ve ever made and have never had problems. The same goes for script – no point specifying default values.

    The HTML4 spec (http://www.w3.org/TR/html4/interact/scripts.html#h-18.2.1) says the type is required, though browsers are used to this being malformed (language being specified with no type, application/javascript instead of type/javascript etc. In short, browsers are used to this being wrong, so they look for script, and don’t even parse the attributes as far as I can tell.

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

Sidebar

Related Questions

This is a question that has been bugging me for a while. I started
This has been a problem that I haven't been able to figure out for
It has been stated that the google plus-one button works it's way up the
I know this question has been asked but I haven't found any satisfactory answers.
I'm asking this with hopes that somebody has been in my shoes and has
This has been an adventure. I started with the looping duplicate query located in
Ever since I started programming this has been something I have been curious about.
This has been driving me crazy for a few days. Why doesn't the following
This has been troubling me for a few years, and was recently exacerbated by
I know this has been asked a thousand times but I'm still having trouble

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.