1
I’m sorry to ask, it’s a very simple question, but I don’t know how to solve.
The tag creates the button but when I click on the button it just doesn’t do anything. It doesn’t take me to the link, it continues on the same page.
<a href="home.html"><button>Home</button></a>
But why do you need a button within a link?
– Woss
would be one of the menu option for redirecting. for example a home boot, another for cataloging and so on
– Felipe Oliveira
So these are links themselves. The button there will be unnecessary. You put it because you want to keep the appearance of the button?
– Woss
Felipe da uma lida aqui: https://www.htmlprogressive.net/2013/06/O-que-e-um-link-em-HTML-para-que-serve-e-como-usar.html
– LeAndrade
I want to put because of the appearance of the boot, I can simulate this appearance using css?
– Felipe Oliveira
You can style like a button yes, the problem is that Each user-agent of each browser has its default CSS for the button. You have to be clearer in what you really need. Or at least indicate an example that you want to get
– hugocsl
Another thing. I tested your btn here and it works, your link problem not being going to page is another... just vc test there
<a href="https://google.com"><button>Home</button></a>
that you will see that goes to Google page– hugocsl