Comments (3)
Doesn't that really just mean that if you want to have a comment outside the <html> you'll need to have a </html>? The <html> can contain a comment - that's what would happen in your case above - but if you want the <html> element to be followed by the comment, it would need to be closed first.
from html.
Well, we're not going to change the HTML parser. And this isn't the HTML parsing section anyway. This tells web developers how to write HTML. And if a web developer wants a comment to appear after the root for whatever reason, this is what they have to do.
from html.
I think I get what you’re saying… I guess that makes sense for wanting this, but is this an actual use case, or one that needs supporting? What would happen—break or fail—if an author couldn’t add comments after the html
element?
from html.
Related Issues (20)
- Clarification on Element reflected IDL attribute steps HOT 9
- Different parsing behavior for "</script>" and "</div>" strings HOT 1
- Nested comment tags. HOT 7
- It's not clear how constraint validation works for FACE if the 'validation anchor' is null HOT 2
- Upcoming WHATNOT meeting on 3/7/2024 HOT 4
- Add a way to automatically get script license and unminified code (if available)
- Clarify context of §4.12.2 the `<noscript>` element HOT 1
- Clarification for nested `kbd` elements
- textarea: attribute for content type
- Provide a mechanism to trigger the fetch of compression dictionaries HOT 4
- Making the WHATNOT meeting cadence weekly HOT 1
- Add `requestClose()` function to HTMLDialogElement HOT 1
- Link rel=modulepreload synchronously fires `load` event if script exists in module map HOT 1
- Worklet termination HOT 2
- Declaratively open popovers (and other elements?) on page load
- > Non-storage APIs that need to follow the storage partitioning (e.g. BroadcastChannel, Web Locks, etc) also need a way to play here, and behind the scenes I assume the implementations use the storage keys, though that's not exported from Storage.
- Nits with link rel=expect HOT 4
- Allow `<source>` elements to query container sizes HOT 5
- Is this bad to suggest that placeholder attributes can contain expected formats?
- should search for draggable attribute follow dom tree or flattened tree? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from html.