HTML/Attribute/type (link, style)
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