A general rule is that the section element is appropriate only if the element’s contents would be listed explicitly in the document’s outline.
The section element | HTML5 Doctor - 1 views
-
-
The theme of each section should be identified, typically by including a heading (h1-h6 element) as a child of the section element.
-
Don’t use it just as hook for styling or scripting; that’s a div
- ...2 more annotations...
The article element | HTML5 Doctor - 0 views
-
A weblog-style <article> A published date leads us to add a <header>, and there’s also content that would be suitable in a <footer> elements. <article> <header> <h1>Apple</h1> <p>Published: <time pubdate="pubdate">2009-10-09</time></p> </header> <p>The <b>apple</b> is the pomaceous fruit of the apple tree...</p> ... <footer> <p><small>Creative Commons Attribution-ShareAlike License</small></p> </footer></article>
:required | CSS-Tricks - 0 views
-
The :required attribute works on radio buttons. If you put required on one radio button (or all), that particular group of radio buttons will be required. On checkboxes, makes each individual checkbox required (to be checked).
Code Guide by @mdo - 0 views
-
Compared to <link>s, @import is slower, adds extra page requests, and can cause other unforeseen problems. Avoid them and instead opt for an alternate approach
-
Compile your CSS with a preprocessor like Sass or Less into a single file
-
Place media queries as close to their relevant rule sets whenever possible.
- ...3 more annotations...
1 - 5 of 5
Showing 20▼ items per page