How to make sections? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to make sections?

make a.tab if clicked is go to other change the page

22nd May 2017, 4:10 PM
Roland Doctor
Roland Doctor - avatar
2 Answers
+ 3
<nav> <ul> <li><a href="#">Navigation</a></li> <li><a href="#">Menu</a></li> <li><a href="#">Links</a></li> </ul> </nav> Bear in mind that <nav> should only be used for the main user navigation of a web page, not for advertising links down the bottom of the page, or for a secondary navigation relating to a small part of the page.
22nd May 2017, 4:40 PM
Eremie Gillowei
Eremie Gillowei - avatar
+ 2
you need to declare section id. and call it on navigation like <section id"about>your code</section> call it on navigation like <a href="#about"> about</a>. hopefully you understand this process.
22nd May 2017, 5:33 PM
Hasan Misbah
Hasan Misbah - avatar