0
How to make a button that takes you to a different sections of the website in html?
For example, if you're in your Instagram feed, then you want to check your messages, then you click on the messages icon and it takes you there, how do I make this in a website? Thankssss
4 ответов
+ 1
It can be done by
<a href=" ">messages</a>...
If you want to take this link to your message box so you can write a value for the href...
+ 1
The link just led to a blank page because we have to provide a value in href which I had kept empty. If you want to go to a specific page then use its address.
For example : To go to google.com use <a href="https://google.com">Text</a>
0
Thanks, I did this and it led to a blank page, but then, how do I put stuff there? Because I tried just creating a new section with the same id as the href one but it was just displayed in the main page of the website instead? What do I do? Thanks for the help friend : )
0
Sure, but what if I want it to take us to a different sections of my website? Not a different one