HTML Concepts: Commands and Facets

Published on March 29, 2022 (↻ August 17, 2024), filed under (RSS feed for all categories).

In the HTML concepts series I’m presenting lesser known ideas from the huge HTML specification. In this episode, let’s have a quick look at commands and facets.

Commands

Commands should be what you think they are. A command is defined as “the abstraction behind menu items, buttons, and links.” It’s what you issue when you interact with them, that is, click or press on either.

Accordingly,

Facets

Facets are rarely mentioned anywhere; they are something a command has. There are the following facets:

âť§ Commands are easy to work with, as they represent something actionable. Facets may be what you can now recall as something that specifies and gives information about a command. Review other concepts, and see you in a follow-up post of this series.

For the king is almost too lenient for his times and only orders such murders and executions as are for the public good, never for private pleasure—and his people grumble at the lack of entertainment.

Figure: No, not one of those commands. (Copyright King Features Syndicate, Inc., distr. Bulls.)

Was this useful or interesting? Share this post (e.g., on Mastodon or on Bluesky), and support my work by learning with my ebooks!

About Me

Jens Oliver Meiert, on November 9, 2024.

I’m Jens (long: Jens Oliver Meiert), and I’m a web developer, manager, and author. I’ve worked as a technical lead and engineering manager for small and large enterprises, I’m an occasional contributor to web standards (like HTML, CSS, WCAG), and I write and review books for O’Reilly and Frontend Dogma.

I love trying things, not only in web development and engineering management, but also in other areas like philosophy. Here on meiert.com I share some of my experiences and views. (I value you being critical, interpreting charitably, and giving feedback.)