Day 61: <thead>

Defines a set of rows defining the head of the columns of the table.

ℹ️ There was a (now obsolete) attribute called char, which is now specified (but not supported) in CSS as text-align: "."; drafts.csswg.org/css-text-4/#c

developer.mozilla.org/en-US/do

Day 60: <rb>

Is used to delimit the base text component of a  <ruby> annotation

ℹ️ This feature is non-standard and is not on a standards track. Only supported in Firefox and, wait for it, Internet Explorer 5 - 11

developer.mozilla.org/en-US/do

Day 59: <strong>

Indicates that its contents have strong importance, seriousness, or urgency.

ℹ️ You have to be strong now, but this is not for styling.

developer.mozilla.org/en-US/do

Day 58: <header>

Represents introductory content

ℹ️ It was originally used as the <head> element and was used on the first website info.cern.ch/ but made it only in the specification with HTML5

developer.mozilla.org/en-US/do

Day 57: <figure>

Represents self-contained content, potentially with an optional caption

ℹ️ Not only for <img>, can also be used for things like code, poems and everything referenced as a single unit.

developer.mozilla.org/en-US/do

Day 56: <mark>

Represents text which is marked or highlighted for reference or notation purpose

ℹ️ Don't use <mark> for syntax highlighting purposes

developer.mozilla.org/en-US/do

Day 55: <sub>

Specifies inline text which should be displayed as subscript for solely typographical reasons.

ℹ️ Should be used only for typographical reasons, else use CSS like vertical-align: -25%

developer.mozilla.org/en-US/do

Day 54: <code>

Displays its contents styled in a fashion intended to indicate that the text is a short fragment of computer code.

ℹ️ To represent multiple lines of code, wrap the <code> element within a <pre> element.

developer.mozilla.org/en-US/do

Day 53: <a>

Creates a hyperlink to web pages, files, email addresses, locations in the same page, or anything else a URL can address.

ℹ️ If it goes somewhere, use <a>

developer.mozilla.org/en-US/do

Day 52: <abbr>

Represents an abbreviation or acronym

ℹ️ Spelling out the acronym or abbreviation in full the first time it is used on a page is beneficial for helping people understand it

developer.mozilla.org/en-US/do

Day 51: <canvas>

Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.

ℹ️ You should provide alternate content inside the <canvas> block.

developer.mozilla.org/en-US/do

Day 50: <tbody>

Encapsulates a set of table rows (<tr>), indicating that they comprise the body of the table.

ℹ️ If the table includes a <thead> block (to semantically identify header rows), the <tbody> block must come after it.

developer.mozilla.org/en-US/do

Day 49: <dialog>

Represents a dialog box or other interactive component

ℹ️ While supported in Chromium, there are accessibility issues which makes it not usable for now scottohara.me/blog/2019/03/05/

developer.mozilla.org/en-US/do

Day 48: <hr>

Represents a thematic break between paragraph-level elements

ℹ️ Only use if for semantic reason. If you wish to draw a horizontal line, you should do so using CSS.

developer.mozilla.org/en-US/do

Day 47: <embed>

Embeds external content at the specified point in the document.

ℹ️ Use the title attribute on an embed element to label its content so that people using assistive technology can understand what it contains.

developer.mozilla.org/en-US/do

Day 46: <dfn>

Is used to indicate the term being defined within the context of a definition phrase or sentence.

ℹ️ If the <dfn> element has a title attribute, it must contain the term being defined and no other text.

developer.mozilla.org/en-US/do

Day 45: <source>

Specifies multiple media resources <picture>, <audio>, or the <video> element

ℹ️ The media attribute currently only works for <picture>, it was removed for <video> in all browsers but Safari gist.github.com/scottjehl/e589

developer.mozilla.org/en-US/do

Show older
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!