HTML Concepts: Form Owners
Published on December 18, 2021, filed under Development (RSS feed for all categories).
Today in “HTML Concepts”: form owners. It’s not what you are when you put a form on a page.
What are form owners? In essence, form
elements that so-called form-associated elements are tied to.
Form-associated elements are the following:
button
, fieldset
, input
, object
, output
, select
, textarea
, img
, as well as form-associated custom elements.
(These fall into certain categories, namely listed, submittable, resettable, and autocapitalize-inheriting elements.)
Form ownership is straightforward, as the connection of a form-associated element with a form owner is simple:
The element is associated with its nearest ancestor form
element—unless it is a form-associated listed element (anything not img
) and has a form
attribute that overrides this association. (One can construct scenarios in which neither is the case.)
In many cases one can say that each form element has a form owner, its parent form
element. (And you, if you own a web form, can still call yourself a form owner, too.)
About Me
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 a few companies, I’m a contributor to several web standards, 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.)
Read More
Maybe of interest to you, too:
- Next: 2021
- Previous: Web Frameworks, Coding Guidelines, Quality Control, and the Craft of Web Development
- More under Development
- More from 2021
- Most popular posts
Looking for a way to comment? Comments have been disabled, unfortunately.
Get a good look at web development? Try WebGlossary.info—and The Web Development Glossary 3K. With explanations and definitions for thousands of terms of web development, web design, and related fields, building on Wikipedia as well as MDN Web Docs. Available at Apple Books, Kobo, Google Play Books, and Leanpub.