Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>ДЗ</title>
- <meta charset="utf-8">
- <style type="text/css">
- ul {
- list-style-type: none;
- background: lightgrey;
- width: 200px;
- margin: 0;
- padding: 0;
- }
- li a {
- display: black;
- color: black;
- padding: 8px 16px;
- text-decoration: none;
- }
- li a:hover {
- background-color: grey;
- color: white;
- }
- </style>
- </head>
- <body>
- <h2>Вертикальное меню</h2>
- <ul>
- <li><a href="#">Главная</a></li>
- <li><a href="#">Сервис</a></li>
- <li><a href="#">Контакты</a></li>
- <li><a href="">Поиск</a></li>
- <li><a href="#">Помошь</a></li>
- </ul>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement