Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>
- Наследяване
- </title>
- <meta charset="UTF-8"/>
- <style>
- body{
- background:#912339; /* background color */
- }
- p, span, div{
- font-weight:bold; /* bold text */
- background:#FFD913; /* background color */
- margin:0; /* no extra space around the element */
- }
- p, span {
- text-align:justify; /* text is justified */
- font-size:24px; /* size of text */
- color:black; /* text color */
- }
- div{
- border:solid 10px #45AA32; /* solid border with a specific color and thickiness */
- border-radius:5px; /* edges are rounded */
- }
- </style>
- </head>
- <body>
- <p>
- This is a paragraph
- </p>
- <div>
- This is a div
- </div>
- <span>
- This is a span
- </span>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement