HtmlVocabulary
The parts of the HTML vocabulary a checker needs to know to tell a mistake from a shorthand.
Attributes
- Source
- HtmlVocabulary.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
HtmlVocabulary.type
Members list
Value members
Concrete methods
Whether a name is a valid custom element name, by HTML's grammar: a lowercase letter first, a hyphen somewhere, and none of the reserved.
Whether a name is a valid custom element name, by HTML's grammar: a lowercase letter first, a hyphen somewhere, and none of the reserved.
Attributes
- Source
- HtmlVocabulary.scala
data-* and aria-* are open sets by design, and a framework may add its own prefix.
data-* and aria-* are open sets by design, and a framework may add its own prefix.
Attributes
- Source
- HtmlVocabulary.scala
Attributes
- Source
- HtmlVocabulary.scala
Concrete fields
Attributes that belong to particular elements. Kept flat: a checker that knows the name is real catches the typo, and which element it sits on is the content model's business rather than the vocabulary's.
Attributes that belong to particular elements. Kept flat: a checker that knows the name is real catches the typo, and which element it sits on is the content model's business rather than the vocabulary's.
Attributes
- Source
- HtmlVocabulary.scala
Every element name in the HTML living standard.
The event handler content attributes: those any element may carry, and those a body carries for its window.
The event handler content attributes: those any element may carry, and those a body carries for its window.
Attributes
- Source
- HtmlVocabulary.scala
The handlers other specifications add to every element: pointer events, CSS animations and transitions, selection and touch.
The handlers other specifications add to every element: pointer events, CSS animations and transitions, selection and touch.
Attributes
- Source
- HtmlVocabulary.scala
Attributes any element may carry.
Elements whose end tag the HTML specification allows you to leave out.
Elements whose end tag the HTML specification allows you to leave out.
`
text` is not a mistake: the `` closes the paragraph for you. A checker that does not know this reports half of every page.
Attributes
- Source
- HtmlVocabulary.scala
Elements whose content is text, not markup: a < inside them opens nothing.
Elements whose content is text, not markup: a < inside them opens nothing.
Attributes
- Source
- HtmlVocabulary.scala
Elements that never have content, so never have an end tag.