select, option, optgroup and datalist
Dropdowns done properly: grouping options, multiple selection, the placeholder option trick, and when a datalist beats a select.
A complete HTML path: document structure, text, links, media, tables, forms, semantic markup, HTML5, metadata, accessibility, SEO, tooling, projects and assessment.
113 notes in 20 topics
Dropdowns done properly: grouping options, multiple selection, the placeholder option trick, and when a datalist beats a select.
Three controls with their own rules: a textarea whose value is its content, a file input that needs the right enctype, and hidden fields that are not...
Three button types, one attribute, and a default that causes more accidental submissions than any other rule in HTML.
The browser can check most of a form before it is sent, with no JavaScript. Learn the attributes, the CSS hooks, and why none of it replaces server va...
Two methods, two very different places for your data. Learn which to use, what is safe in a URL, and why neither is encrypted on its own.
Two pages can look identical and be worlds apart. Semantic markup is what tells browsers, screen readers and search engines what each part of a page a...
Four elements divide a page into regions a screen reader can jump between. Learn the rules for each, including the one that says main appears exactly...
The three most argued about elements in HTML. There are clear tests for each, and once you know them the choice stops being a matter of taste.
A disclosure widget with no JavaScript, machine readable dates, contact details and a progress bar. Small elements that replace a surprising amount of...
Two elements with no meaning at all, and that is the point. Learn what they are for, why they are not a failure, and how to know you have too many.
HTML5 is not a version you upgrade to. It is the name for a shift from a frozen specification to a living standard, and for the elements and APIs that...
A legitimate way to attach custom information to an element, readable from CSS and JavaScript, without inventing invalid attributes.