przewiń do treści

HTML, XHTML i CSS. Praktyczne projekty. Wydanie II

Włodzimierz Gajda

<!DOCTYPE ...>
<html ...>
  <head>
    <title>Atrybut style</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  </head>
<body>

<h1 style="margin: 20px; background: blue; color: white;
border: 4px solid black; text-align: center;">WITAJ</h1>

</body>
</html>

Listing 7.4. Atrybut style

Rozdział 7. Kaskadowe arkusze stylów

listing-07-04.txt