Suppose About Me is a section in my page.how can i direct nav into it?i mean what should i use <nav><ul><a href="x">aboutme<a> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Suppose About Me is a section in my page.how can i direct nav into it?i mean what should i use <nav><ul><a href="x">aboutme<a>

in stead of x what should I use?

6th Sep 2017, 3:45 AM
sheikhrafe
8 Answers
+ 3
put an id attribute in your about me section and change x with #idYouUse. for example: <section id="aboutMe"> ... </section> ... <a href="#aboutMe">About Me</a> ...
6th Sep 2017, 4:16 AM
Michele Virgilio
Michele Virgilio - avatar
+ 6
use this <nav><ul><a href="https://www.sololearn.com/Profile/6019228/?ref=app">aboutme</a></ul></nav>
6th Sep 2017, 4:38 AM
Ranjan Bagri
Ranjan Bagri - avatar
+ 2
Use single page application method. Here is a best example: https://code.sololearn.com/W09p784fsb2O/?ref=app
6th Sep 2017, 5:11 AM
Calviղ
Calviղ - avatar
+ 2
Virgilio and calvin,boss u are great....it worked...as a beginner I understood very little of calvin's code....thanks u beauties👏👌
6th Sep 2017, 5:45 AM
sheikhrafe
+ 1
but when x is not in a folder or directory,when it is on the same page I put x into,then What should I do?
6th Sep 2017, 4:09 AM
sheikhrafe
0
"x" should be replaced by the path of your folder or directory that you want to be uploaded when someone will click on About Me at your Nav Bar.
6th Sep 2017, 4:03 AM
Elias Papachristos
Elias Papachristos - avatar
0
but calvin in your code u used span but can i use section instead of span?
6th Sep 2017, 7:13 AM
sheikhrafe
0
You can redirect from one page to another page using anchor tag and anchor text just like this. i,e <a href="https://triviaquestions4u.com/85-best-bar-trivia-questions-with-answers/">about the quiz</a>
26th Dec 2019, 9:53 AM
smithonepa