how to create a button in html.
Answers
Answered by
1
Answer:
Definition and Usage
The <button> tag defines a clickable button.
Inside a <button> element you can put text (and tags like <i>, <b>, <strong>, <br>, <img>, etc.). That is not possible with a button created with the <input> element!
Tip: Always specify the type attribute for a <button> element, to tell browsers what type of button it is.
Tip: You can easily style buttons with CSS! Look at the examples below or visit our CSS Buttons tutorial.
Answered by
0
<button class="btn success">Success</button>
<button class="btn info">Info</button>
<button class="btn warning">Warning</button>
<button class="btn danger">Danger</button>
<button class="btn default">Default</button>
Similar questions
Geography,
8 hours ago
Social Sciences,
8 hours ago
Math,
8 hours ago
Computer Science,
16 hours ago
Math,
8 months ago
Math,
8 months ago