HTML/Attribute/type (link, style)
Aus SELFHTML-Wiki
Das type-Attribut gibt den Medientyp des Stils an
erlaubte Werte |
text/css |
---|---|
default-Wert | text/css |
erlaubt in | style |
Beispiel
<style type="text/css">
Empfehlung: Da der einzige mögliche Wert und auch Standardwert
text/css
ist, kann das Attribut weggelassen werden.Siehe auch
Weblinks
W3C: the type attribute
Liste der HTML-Attribute
- Meta-Attribute
- async
- blocking
- charset
- content
- crossorigin
- defer
- fetchpriority
- http-equiv
- integrity
- media
- open
- rel
- referrerPolicy
- sizes
- type (script)
- type (link, style)
- Universalattribute
- Aria-Attribute
- Formular-Attribute
- Listen-Attribute
- Medien-Attribute
- Tabellen-Attribute
- Verweis-Attribute
- obsolet oder gelöscht