Can I create a button that will make an action with just html? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can I create a button that will make an action with just html?

Or do I need JS?

30th Apr 2020, 12:33 PM
Honest Thomas
Honest Thomas - avatar
1 Answer
+ 1
Html can create only static content meaning you can't do anything on clicking button, text, submitting form if you use only html. To make your page dynamic/ perform any action or events, you should use js.
30th Apr 2020, 1:02 PM
Bibek Oli
Bibek Oli - avatar