2.f) CSS - cascading styles sheets

How to aply style

in-line <p style="{color: red; background-color:

internal <style type="text/css"> p { color: red; }

Reference CSS

CSS Klassenselektoren über class attribut - class="p_gelb" ( . generisch oder p. spezifisch für Element), also .p_gelb { color: yellow; background: black } oder p.p_gelb { color: yellow;

CSS ID-Selektor über id attribut - id="id02"  (ggf. auch

Selectors, Properties, and Values

Lengths and Percentages

some general units that are used in a number of properties and it is worth font-sizes (and possibly even heights and widths rather than 'px', which leads to non-resizable text in most browsers, and should be used sparingly,

Colours

Text and Fonts

Überschrift 1

Überschrift 2

Überschrift 3

Überschrift 4

Das box-Modell

DIV-Box d01 1 1 1 1 1
DIV-Box d02 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
DIV-Box d03 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
DIV-Box d04 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
 © 1998..2023 - Monika Stephan & Helmut Hartmann, Neuried
zum Impressum