Beispiel:CSS-Einstieg-7.html

Aus SELFHTML-Wiki
Wechseln zu: Navigation, Suche
<!DOCTYPE html>
<html lang="de">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS-Einstieg - 7</title>
    <style>
h1 { 
   color: red; 
   background-color: yellow;  
}}

h2 { 
   color: red; 
   background-color: yellow; 
}
    </style>
</head>
<body>
	<h1>CSS-Spielwiese - 7</h1>
	<p>Dies ist ein Absatz.</p>
	<h2>Unterüberschrift</h2>
	<p>Dies ist noch ein Absatz.</p>

</body>
</html>