英[ˈbʌtn] 美[ˈbʌtn]

n. Button, electric button; button, button; button-like object; [plant] bud

vt. Fasten with a button; use a button Decorate, put buttons on; put buttons on...

vi.buckle; attach buttons; button up

Third person singular: buttons Plural: buttons Present participle: buttoning Past tense: buttoned Past participle: buttoned

html button tag syntax

How to use the button tag?

Function:Define a button.

Syntax: <button type="button">Button</button>

Description: Inside the button element, you Content can be placed, such as text or images. This is the difference between this element and buttons created using input elements. The <button> control provides more powerful functionality and richer content than the <input type="button">. Everything between the <button> and </button> tags is the content of the button, including any acceptable body content, such as text or multimedia content. For example, we can include an image and associated text in a button and use them to create an attractive markup image in the button. The only prohibited element is image mapping, as its mouse- and keyboard-sensitive actions interfere with the behavior of the form buttons.

Note: If you use the button element in an HTML form, different browsers will submit different values. Internet Explorer will submit the text between <button> and <button/>, while other browsers will submit the contents of the value attribute.

html button tag example

<html>
<body>

<button type="button">Click Me!</button>

</body>
</html>

Run instance »

Click the "Run instance" button to view the online instance