Beispiel:Background-color.html
Aus SELFHTML-Wiki
<!DOCTYPE html> <html lang="de"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>background-color</title> <style> body { background-color: skyBlue; color: midnightblue; } p { background-color: #123; color: oklch(90% 0.15 95); } </style> </head>
<body>Hintergrundfarben festlegen
Dieses Beispiel demonstriert die Wirkung der Eigenschaft background-color.
</body> </html>