przewiń do treści

HTML, XHTML i CSS. Praktyczne projekty. Wydanie II

Włodzimierz Gajda

<!DOCTYPE ...>
<html ...>
  <head>
    <title>Style wewnętrzne</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <style type="text/css">
    h1 {
      margin: 20px;
      background: blue;
      color: white;
      border: 4px solid black;
      text-align: center;
    }
    </style>
  </head>
<body>

<h1>WITAJ</h1>

</body>
</html>

Listing 7.3. Style wewnętrzne

Rozdział 7. Kaskadowe arkusze stylów

listing-07-03.txt