Beispiel:CSS-Einstieg-1.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"> <link rel="stylesheet" media="screen" href="./Beispiel:Grundlayout.css" > <title>CSS-Einstieg - 1</title> <style>
h1 { color: red; margin: 0; padding: 0; border: 0; background: none; }
h1, h2 { background-color: #eee; border-radius: 1em; padding-left: 1em; } p {
} </style> </head> <body>
Meine CSS-Spielwiese
Dies ist ein Absatz.
Eine Unterüberschrift
Dies ist noch ein Absatz.
</body> </html>