0
Navigation with objects
Hello, how can and I make a normal box to navigate? CSS: HTML: .Box { <div Class=âBoxâ> Width: 100; </div> Height: 100; Color: black } How can I make the box navigate to a href =â#exampleâ
15 Answers
+ 1
Put an anchor tag inside the div and give it the href attribute or make the div an anchor tag with the href attribute.
+ 1
The "a" tag
+ 1
+ 1
The anchor should work as long as it has some text inside it and the menu element is not visible (so when you click it the browser moves to the element).
+ 1
Yes you can make a navigation box. It won't work well if all the elements are all visible on the screen though (that's the whole point of the navigation).
0
sorry man its like your talking too fast. what is an anchor tag? đ
0
okay let me try
0
yes
0
take a look https://code.sololearn.com/WziOqINrt4Gy/?ref=app
0
so i cant make a box to navigate? it has to be letters?
0
test is hidden at the top
0
i made this yesterday https://code.sololearn.com/WOink5TVEEby/?ref=app
0
with text instead of an box
0
wait wait wait wait. i can make an invinseble button over it. let me try
0
yaaaaaas! made it work https://code.sololearn.com/WziOqINrt4Gy/?ref=app