Home > Web Front-end > Front-end Q&A > How to use html button tag

How to use html button tag

藏色散人
Release: 2019-05-26 09:11:12
Original
3762 people have browsed it

html The button tag is used to define a button. The syntax is . Inside the button element, you can place content, such as text or images.

How to use html button tag

html How to use button tag?

Function: Define a button.

Syntax:

<button type="button">按钮</button>
Copy after login

Description:

Inside the button element, you can place content, such as text or images. This is the difference between this element and buttons created using input elements. The 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

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template