Giter Club home page Giter Club logo

Comments (6)

myakura avatar myakura commented on August 19, 2024

It is "correct"; the "quote" you mentioned is quoted from a message explaining why the charset attribute had already been understood by pre-HTML5 browsers.

from diveintohtml5.

jodydonetti avatar jodydonetti commented on August 19, 2024

Yeah, I know: and in that message you linked it says "people tend to leave things unquoted, like" and then it gives an example, unquoted. That because it is presenting an example of "bad" syntax.

Quoting the entire block, but adding the quotes, doesn't make sense: the original message is giving an example of unquoted syntax, with an unquoted example, whereas here we are giving an example of unquoted syntax, but with an example that is quoted.

I hope to have explained myself well, if not please let me know.

I'll add 2 screenshots to better explain what I mean.

originalmessage-no-quotes

diveintohtml5-quotes-error

from diveintohtml5.

myakura avatar myakura commented on August 19, 2024

Oops. My bad. Sorry~
(Perhaps it went wrong when the source got canonicalized to wrap all attribute values in quotes.)

from diveintohtml5.

jodydonetti avatar jodydonetti commented on August 19, 2024

No problem, thanks ;-) !

from diveintohtml5.

jonathantneal avatar jonathantneal commented on August 19, 2024

@njy, good catch! @myakura, excellent deduction, and you are entirely correct. I will correct this at the first available opportunity.

from diveintohtml5.

jonathantneal avatar jonathantneal commented on August 19, 2024

Corrected.

from diveintohtml5.

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.