Referenzhandbuch für Standardwerte der CSS

Standardwerte der CSS für HTML-Elemente

Die folgende Tabelle zeigt alle Standardwerte der CSS-Browser für alle HTML-Elemente.

Element Standardwert der CSS TIY
a:verknüpft
  • Farbe: (interne Wert);
  • text-decoration: underline;
  • Mauszeiger: automatisch;
Versuchen Sie es
a:besucht
  • Farbe: (interne Wert);
  • text-decoration: underline;
  • Mauszeiger: automatisch;
Versuchen Sie es
a:verknüpft:aktiv Farbe: (interne Wert); Versuchen Sie es
a:besucht:aktiv Farbe: (interne Wert); Versuchen Sie es
abk Keine.
adresse
  • display: block;
  • font-style: italic;
Versuchen Sie es
area display: none;
article display: block;
aside display: block;
audio Keine.
b font-weight: bold; Versuchen Sie es
base Keine.
bdi Keine.
bdo unicode-bidi: bidi-override;
Zitat
  • display: block;
  • margin-top: 1em;
  • margin-bottom: 1em;
  • margin-left: 40px;
  • margin-right: 40px;
Versuchen Sie es
Körper
  • display: block;
  • Abstand: 8 px;
Versuchen Sie es
Körper:focus outline: none; Versuchen Sie es
br Keine.
Knopf Kein
canvas Keine.
Überschrift
  • Anzeige: Tabelle-Überschrift;
  • text-align: center;
Versuchen Sie es
cite font-style: italic; Versuchen Sie es
code font-family: monospace; Versuchen Sie es
col Anzeige: Tabelle-Spalte; Versuchen Sie es
colgroup Anzeige: Tabelle-Spalten-Gruppe Versuchen Sie es
datalist display: none;
dd
  • display: block;
  • margin-left: 40px;
Versuchen Sie es
del text-decoration: line-through; Versuchen Sie es
details display: block;
dfn font-style: italic; Versuchen Sie es
dialog Keine.
div display: block; Versuchen Sie es
dl
  • display: block;
  • margin-top: 1em;
  • margin-bottom: 1em;
  • margin-left: 0;
  • margin-right: 0;
Versuchen Sie es
dt display: block; Versuchen Sie es
em font-style: italic; Versuchen Sie es
Eingebettet:focus outline: none;
Feldgruppe
  • display: block;
  • Abstand links: 2 px;
  • Abstand rechts: 2 px;
  • Rechteckabstand oben: 0,35 em;
  • Rechteckabstand unten: 0,625 em;
  • Rechteckabstand links: 0,75 em;
  • Rechteckabstand rechts: 0,75 em;
  • Rand: 2 px Rillen (interne Wert);
Versuchen Sie es
figcapton display: block;
figure
  • display: block;
  • margin-top: 1em;
  • margin-bottom: 1em;
  • margin-left: 40px;
  • margin-right: 40px;
Versuchen Sie es
footer display: block;
form
  • display: block;
  • margin-top: 0em;
Versuchen Sie es
h1
  • display: block;
  • font-size: 2em;
  • margin-top: 0.67em;
  • margin-bottom: 0.67em;
  • margin-left: 0;
  • margin-right: 0;
  • font-weight: bold;
Versuchen Sie es
h2
  • display: block;
  • font-size: 1.5em;
  • margin-top: 0.83em;
  • margin-bottom: 0.83em;
  • margin-left: 0;
  • margin-right: 0;
  • font-weight: bold;
Versuchen Sie es
h3
  • display: block;
  • font-size: 1.17em;
  • margin-top: 1em;
  • margin-bottom: 1em;
  • margin-left: 0;
  • margin-right: 0;
  • font-weight: bold;
Versuchen Sie es
h4
  • display: block;
  • margin-top: 1.33em;
  • margin-bottom: 1.33em;
  • margin-left: 0;
  • margin-right: 0;
  • font-weight: bold;
Versuchen Sie es
h5
  • display: block;
  • font-size: .83em;
  • margin-top: 1.67em;
  • margin-bottom: 1.67em;
  • margin-left: 0;
  • margin-right: 0;
  • font-weight: bold;
Versuchen Sie es
h6
  • display: block;
  • font-size: .67em;
  • margin-top: 2.33em;
  • margin-bottom: 2.33em;
  • margin-left: 0;
  • margin-right: 0;
  • font-weight: bold;
Versuchen Sie es
head display: none;
header display: block;
hr
  • display: block;
  • margin-top: 0.5em;
  • margin-bottom: 0.5em;
  • margin-left: auto;
  • margin-right: auto;
  • border-style: inset;
  • border-width: 1px;
Versuchen Sie es
html
  • display: block;
  • html:focus
  • outline: none;
i font-style: italic; Versuchen Sie es
iframe:focus outline: none;
iframe[seamless] display: block;
img display: inline-block; Versuchen Sie es
input Keine.
ins text-decoration: underline; Versuchen Sie es
kbd font-family: monospace; Versuchen Sie es
label cursor: default; Versuchen Sie es
legend
  • display: block;
  • padding-left: 2px;
  • padding-right: 2px;
  • border: none;
Versuchen Sie es
li display: list-item;
link display: none;
main Keine.
map display: inline;
mark
  • background-color: yellow;
  • color: black;
Versuchen Sie es
menu
  • display: block;
  • list-style-type: disc;
  • margin-top: 1em;
  • margin-bottom: 1em;
  • margin-left: 0;
  • margin-right: 0;
  • padding-left: 40px;
menuitem Keine.
meta Keine.
meter Keine.
nav display: block;
noscript Keine.
object:focus outline: none;
ol
  • display: block;
  • list-style-type: decimal;
  • margin-top: 1em;
  • margin-bottom: 1em;
  • margin-left: 0;
  • margin-right: 0;
  • padding-left: 40px;
Versuchen Sie es
optgroup Keine.
option Keine.
output display: inline;
p
  • display: block;
  • margin-top: 1em;
  • margin-bottom: 1em;
  • margin-left: 0;
  • margin-right: 0;
Versuchen Sie es
param display: none;
picture Keine.
pre
  • display: block;
  • font-family: monospace;
  • white-space: pre;
  • margin: 1em 0;
Versuchen Sie es
progress Keine.
q display: inline; Versuchen Sie es
q::before content: open-quote; Versuchen Sie es
q::after content: close-quote; Versuchen Sie es
rp Keine.
rt line-height: normal;
ruby Keine.
s text-decoration: line-through; Versuchen Sie es
samp font-family: monospace;
script display: none;
section display: block; Versuchen Sie es
select Keine.
small font-size: smaller; Versuchen Sie es
source Keine.
span Keine.
strike text-decoration: line-through; Versuchen Sie es
strong font-weight: bold; Versuchen Sie es
style display: none;
sub
  • vertical-align: sub;
  • font-size: smaller;
Versuchen Sie es
summary display: block;
sup
  • vertical-align: super;
  • font-size: smaller;
Versuchen Sie es
table
  • display: table;
  • border-collapse: separate;
  • border-spacing: 2px;
  • border-color: gray;
Versuchen Sie es
tbody
  • display: table-row-group;
  • vertical-align: middle;
  • border-color: inherit;
td
  • display: table-cell;
  • vertical-align: inherit;
template Keine.
textarea Keine.
tfoot
  • display: table-footer-group;
  • vertical-align: middle;
  • border-color: inherit;
th
  • display: table-cell;
  • vertical-align: inherit;
  • font-weight: bold;
  • text-align: center;
thead
  • display: table-header-group;
  • vertical-align: middle;
  • border-color: inherit;
time Keine.
title display: none;
tr
  • display: table-row;
  • vertical-align: inherit;
  • border-color: inherit;
track Keine.
u text-decoration: underline; Versuchen Sie es
ul
  • display: block;
  • list-style-type: disc;
  • margin-top: 1em;
  • margin-bottom: 1 em;
  • margin-left: 0;
  • margin-right: 0;
  • padding-left: 40px;
Versuchen Sie es
var font-style: italic; Versuchen Sie es
video Keine.
wbr Keine.