Lurker News

Comments (242) 68 threads

Show all comments

Showing thread 25 of 68

lelandfe2 replies#


    <iframe hidden name=htmz onload="..
</code></pre>
I'm somewhat frightened to ask if there's some special voodoo need for leaving off the quotes on htmz...
wild_egg#
Quotes are completely optional on attribute values in HTML5 if the value doesn't have certain characters like spaces which will require quoting

I've found this article a handy reference on all the stuff it's safe to leave out
https://meiert.com/en/blog/optional-html/

Kalabasa1 reply#
Nah it's a stylistic thing. It's so that you can see the `=htmz>` logo in code if you order the target attribute last :D
arispen#
:O