Giter Site home page Giter Site logo

Script element section about head HOT 7 OPEN

joshbuchea avatar joshbuchea commented on May 19, 2024
Script element section

from head.

Comments (7)

marcobiedermann avatar marcobiedermann commented on May 19, 2024 1

@garycourt Do you have a link to the W3 specification of type="module"? Which browsers currently support this attribute?

from head.

joshbuchea avatar joshbuchea commented on May 19, 2024

Excellent points. Will add. Thanks @fvsch!

from head.

garycourt avatar garycourt commented on May 19, 2024

Don't forget about the new <script type="module"> for ES6 Module loading.

from head.

garycourt avatar garycourt commented on May 19, 2024

It's apart of the Living HTML Standard: https://html.spec.whatwg.org/multipage/scripting.html#attr-script-type

Currently, no browsers support it. But that will change quickly in the next 6 months.

from head.

FlorianWendelborn avatar FlorianWendelborn commented on May 19, 2024

If you change the <script/> anyway, you should also add the integrity attribute.

from head.

joshbuchea avatar joshbuchea commented on May 19, 2024

Note: Add async, defer, and integrity attribute information and/or examples.

from head.

 avatar commented on May 19, 2024

any updates on this? I came here as I saw defer was missing from here:

https://htmlhead.dev

it should be there, if need be drawbacks can be included as well

from head.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.