h1 { text-align: center; color: white; } h3 { text-align: center; color: white; } h2 { color: teal; } body { background-image: url("https://novostivmire.com/wp-content/uploads/2016/09/%D0%BA%D0%BE%D1%81%D0%BC%D0%BE%D1%81.jpg"); } 
 <h1>Космоинфо</h1> <h3>Погрузись в космос вместе с нами!</h3> <h1> <pre>Новости Вопросы Основная Статьи Астрофото Видео</pre> </h1> 

I impose my first normal web page. At the very bottom of the page there is a menu. But there were difficulties. I need to click on them when I click on the link.

Can you tell and show how this is done?

  • 2
    Duck and make the text links? <h1><a href="/news">Новости</a> .... - teran
  • I can do it myself. But I need the inscriptions to be white - user285559
  • one
    Well, give what color you need a {color: #fff; text-decoration: none; } - Yuri Kopot
  • ... I need inscriptions to be white - learn css - Alex

1 answer 1

Use <a href="ссылка">Текст ссылки</a>

 <!DOCTYPE html> <html> <title> Космоинфо </title> <body> <style> h1{text-align:center;color:white;} h3{text-align:center;color:white;} a{color:#FFF;text-decoration:none;} h2{color:teal;} body{background-image:url("https://novostivmire.com/wp-content/uploads/2016/09/%D0%BA%D0%BE%D1%81%D0%BC%D0%BE%D1%81.jpg");} </style> </style> <h1>Космоинфо</h1> <h3>Погрузись в космос вместе с нами!</h3> <h1><pre><a href="https://ru.stackoverflow.com/">Новости</a> Вопросы Основная Статьи Астрофото Видео</pre></h1> </body> </html>