+ 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?
8 Réponses
+ 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>
...
+ 6
use this
<nav><ul><a href="https://www.sololearn.com/Profile/6019228/?ref=app">aboutme</a></ul></nav>
+ 2
Use single page application method.
Here is a best example:
https://code.sololearn.com/W09p784fsb2O/?ref=app
+ 2
Virgilio and calvin,boss u are great....it worked...as a beginner I understood very little of calvin's code....thanks u beauties👏👌
+ 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?
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.
0
but calvin in your code u used span but can i use section instead of span?
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>