Comments (5)
(Do you mean "use only one h1"?)
Headings currently do decrease in size as they go down in importance. Not by a huge amount, but it's quite noticible in many situations.
from marx.
no, I meant use only h1, not h2 or h3 or any h.
from marx.
ah right, that makes sense: because the hierarchy is provided by nesting <section>
elements, is that it? It would be possible to style it so that one could do both (either nest sections, or use h1, h2, h3, ...).
from marx.
Well, probably with something like section h1
, header h1
, section header h1
, article h1
. I don't know. We should see how Chrome styles it in its default stylesheet.
from marx.
yes, we should be using only h1
No, we shouldn't. See the spec:
There are currently no known implementations of the outline algorithm in graphical browsers or assistive technology user agents, although the algorithm is implemented in other software such as conformance checkers. Therefore the outline algorithm cannot be relied upon to convey document structure to users. Authors are advised to use heading rank (h1-h6) to convey document structure.
http://www.w3.org/TR/html5/sections.html#outlines
It is currently discouraged to use only h1. Stick to one h1, then use h2-h6s.
Note: it's currently discouraged, this might change in the future.
from marx.
Related Issues (20)
- BUG border-color with width statement...
- Update to sanitize 5.0? HOT 1
- Update Codepen, NPM Repo, Bower Repo HOT 2
- When installing via NPM, sanatize.css dependency is missing HOT 1
- Extends using css variables [feature] HOT 1
- Dropdown does not show indicator in Firefox HOT 2
- not clear which file to import ... @import "sanitize.css/sanitize"
- Nav tag outside body HOT 1
- Input word-break issue in Safari
- In the codepen example, the radio buttons seem wrong
- $link-hover-color is not used HOT 1
- Style file inputs with ::file-selector-button/::-webkit-file-upload-button HOT 1
- Default primary color should be red HOT 2
- Add example-image to the documentation
- Navbar like in the demo HOT 1
- Fix link button styling HOT 5
- Lacks more communism
- Sorry, there is no discussion tab. Do I need all of the modules in node_modules to use Marx? I installed via NPM.
- Put cdn link on webpage
- Instructions unclear
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 marx.