Comments (5)
That's an interesting point. Is there some method I can validate what the document's outline is? So far I've found HTML5 Outliner which gives a weird result on bmfw. Looking for second opinions, or some suggestion for how exactly the best motherfucking website should outline its content.
from bestmotherfucking.website.
The Nu Validator will expose the outline according to the HTML5 outline algorithm, with the right checkbox ticked.
from bestmotherfucking.website.
Thanks. I think I like the sections from a structural OCD standpoint, but are they really doing nothing at all? I was under the impression that they added some semantic meaning to the document outline.
from bestmotherfucking.website.
Sort of, but not really. Untitled <section>
s mean something different in the outlining algorithm to what you'd get if you removed their tags, and that's not actually something you can express without them; if those are critical semantic information, you can't do without, but (IMO and IME) that's a vanishingly rare situation. If the outlining algorithm is in play, you can express the structure using just <section>
and <h1>
for titles, which is nice and pleasing--except you'd still have to use <h2>
in second-level sections and <h3>
etc similarly anyway for graceful degradation in UAs that didn't implement the outlining algorithm.
You can check that, as is, the sectioning elements aren't actually doing anything in terms of the outline structure by selecting 'text input', pasting in the source and stripping them out, and verifying that you get the same outline; this is basically the point of the outlining algorithm, which translates properly-used HTML 4.01-style numbered headings into a nice tree.
from bestmotherfucking.website.
Thank you for the insight. I think you're right that removing the sections is the best solution.
from bestmotherfucking.website.
Related Issues (20)
- Small Typo in "HTTPS" Section HOT 1
- HTTP/2 does not require HTTPS HOT 1
- FF Reader mode tip HOT 1
- Dark mode
- Provide templates for the lazy asses. HOT 4
- Wiki on actual things you can do/read? HOT 1
- HTTP/3 HOT 4
- Note about feeds? HOT 1
- Linking to doesmysiteneedhttps.com? HOT 3
- Too much contrast HOT 13
- Meta notification of yet an another website. HOT 1
- Site unreachable: missing DNS records HOT 2
- Not working as it should HOT 3
- Server Side Brotli Compression HOT 5
- Meme headers HOT 6
- Change background colors. HOT 1
- Fix dark mode link colors
- Link titles // archive your hreffed
- Don't fucking reinvent HTML elements in JS
- The word "Design" needs to be in scare-quotes, or replaced with the word "aesthetics". HOT 1
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 bestmotherfucking.website.