What is the button tag? In html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the button tag? In html

How do we add buttons?

26th Aug 2020, 5:15 PM
Tashfiq Ahmed
Tashfiq Ahmed - avatar
6 Answers
+ 5
The <button> tag defines a clickable button. Inside a <button> element you can put text (and tags like <i>, <strong>, <br>, <img>, etc.). This is not possible with a button created with the <input> element! <button type="button">Click Me!</button>
26th Aug 2020, 5:19 PM
Cyber Nate
Cyber Nate - avatar
+ 4
You are welcome Tashfiq Ahmed.
26th Aug 2020, 5:20 PM
🈂️Toma
🈂️Toma - avatar
+ 4
🈂️Toma yes sir, I'm sorry for that sir.. I'm having network problem here sir, so your comment didn't load fast .
26th Aug 2020, 5:25 PM
Cyber Nate
Cyber Nate - avatar
+ 3
You add buttons by using the button tag, read more here: https://www.w3schools.com/tags/tag_button.asp
26th Aug 2020, 5:16 PM
🈂️Toma
🈂️Toma - avatar
+ 2
Thanx guys
26th Aug 2020, 5:20 PM
Tashfiq Ahmed
Tashfiq Ahmed - avatar
+ 1
Ooo bangladeshs having some network problem for 2 days
26th Aug 2020, 5:27 PM
Tashfiq Ahmed
Tashfiq Ahmed - avatar