Button with link not working
Author | Message |
---|---|
Kleader | # Posted yesterday |
![]() |
Hi <a href="siteraw.html"><button id="bt"></button></a>Any help is appreciated. |
Ads | |
Bougnoulz | # Posted yesterday |
![]() |
I tested your code, it works. |
Kleader | # Posted yesterday |
![]() |
Google Chrome but I also tried with Internet Explorer and I get the same problem. |
Kim Jong Un | # Posted two hours ago |
![]() |
Hello, |
Demand3d | # Posted two hours ago |
![]() |
Strange as it works under Linux (Debian) with Firefox, Chrome, Opera and even the internal browser of Komodo-edit. |
Kegon | # Posted one hour ago |
![]() |
It's not because it "works" on some browsers (more permissive on the syntax), that it is valid and thus compatible. |
Celeri | # Posted one hour ago |
![]() |
The documentation is pretty clear on this matter. The Anchor elementYou can still do the opposite since <button> allows the inclusion of HTML content (it's why the tag was created after all). <button class="bt"> |
Kleader | # Posted 7 minutes ago |
![]() |
Thanks! I'll try that method. |
Post a reply
Please be kind and courteous in your replies. Don't roast others for no reason.