+ 1

Can the <a> tag be used as a button for a form if so pls answer

Instead of the <button> tag

26th Aug 2020, 8:39 PM
Timothy Olufemi
Timothy Olufemi - avatar
5 ответов
+ 4
Yes it can be used and as the same time you can use both together to make the button have the attribute of a link
26th Aug 2020, 8:41 PM
Nathaniel Temitope Ogunjobi
Nathaniel Temitope Ogunjobi - avatar
+ 2
How
26th Aug 2020, 8:44 PM
Timothy Olufemi
Timothy Olufemi - avatar
+ 2
If you want to redirect on click on button Use it like this <button><a href="url_here">click to open link </a></button>
27th Aug 2020, 3:00 AM
Divya Mohan
Divya Mohan - avatar
26th Aug 2020, 9:18 PM
JaScript
JaScript - avatar
+ 1
Yes!!
26th Aug 2020, 9:19 PM
Plaban Kr. Mondal
Plaban Kr. Mondal - avatar