This HTML element creates versatile buttons that can contain text, images, or other HTML content.
<button>
HTML supports 140 predefined ones, like red, blue, and coral.
color names
This tag defines a table row.
<tr>
This list type is best for items without a specific order.
<ul>
This CSS property changes bullet style in unordered lists.
list-style-type
This type of button submits form data to the server for processing.
<input type="submit">
This six-digit code represents red, green, and blue values.
HEX value
This tag defines a table header cell.
<th>
This list type is best for steps, rankings, or sequences.
<ol>
This CSS property adds rounded corners to buttons.
border-radius
This button type clears all form fields back to their default values.
<input type="reset">
This function uses three parameters (0–255) for red, green, and blue.
rgb()
This tag defines a table data cell.
<td>
This list type is best for glossaries or FAQs.
<dl>
This color specification is intuitive for adjusting hue and saturation.
HSL/HSLA
Adding this attribute makes a button non-interactive.
disabled
This color specification uses hue, saturation, and lightness.
hsl()
This CSS property removes gaps between table borders.
border-collapse
This tag defines a term in a description list.
<dt>
This table attribute allows a cell to span multiple columns.
colspan
This attribute links a button to a specific form by its ID.
form
This method adds an alpha channel for opacity to RGB values.
rgba()
This attribute allows a cell to span multiple rows.
rowspan
This tag defines the description of a term in a description list.
<dd>
This JavaScript event attribute can be added to a button to trigger a function when clicked.
onclick