Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <html>
- <head>
- <title>"Sprawdzian html"</title>
- <meta name="decrtiption" content="cos, cos">
- <meta name="author" content="Kacper Nogajewski">
- <meta charset="utf-8">
- <link rel="stylesheet" href="cwiczenie2.css" type="text/css"/>
- </head>
- <body>
- <div id="blok1">
- <p>Blok tekstu w kolorze czerwonym.</p>
- </div>
- </br>
- <div id="blok2">
- <h1 style="color:black; background: blue;">Nagłówek stopnia pierwszego również w kolorze czerwonym.</h1>
- </div>
- </br>
- <ul>
- <li>3</li>
- <li>2</li>
- <li>1</li>
- </ul>
- <a href="www.google.com"> cos </a>
- <table style="margin-left:auto; margin-right: auto;">
- <tr>
- <th> 1 </th>
- <th> 1 </th>
- <th> 1 </th>
- <th> 1 </th>
- <th> 1 </th>
- <th> 1 </th>
- </tr>
- <tr>
- <th> 1 </th>
- <th> 1 </th>
- <th> 1 </th>
- <th> 1 </th>
- <th> 1 </th>
- <th> 1 </th>
- </tr>
- <tr>
- <th> 1 </th>
- <th> 1 </th>
- <th> 1 </th>
- <th> 1 </th>
- <th> 1 </th>
- <th> 1 </th>
- </tr>
- </table>
- </html>
- ______________________________________________________________________________________________________________________
- __________________________________
- #blok1
- {
- background-color: red;
- color: black;
- text-align: center;
- margin-top:1cm;
- margin-bottom:1cm;
- }
- #blok2
- {
- background-color: blue;
- color: black;
- text-align: center;
- margin-top:1cm;
- margin-bottom:1cm;
- }
- body
- {
- margin: 0;
- }
- ul
- {
- color: black;
- background-color: white;
- }
- a
- {
- color: white;
- }
- tr, th
- {
- text-align: center;
- border-style: double;
- border-size: 1px 2px;
- border-bottom-left-radius: 30px;
- border-bottom-right-radius: 30px;
- border-top-left-radius: 30px;
- border-top-right-radius: 30px;
- border-color: green;
- color: green;
- margin-top: 20px;
- height: 80px;
- width: 80px;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement