but is more powerful in terms of controllability. The Forms part of the HTML 4.01 specification specifies the following control types: buttons, checkboxes, radio buttons, menus, text input, file select, hidden controls, object controls. In addition to buttons/menus/object con"/> but is more powerful in terms of controllability. The Forms part of the HTML 4.01 specification specifies the following control types: buttons, checkboxes, radio buttons, menus, text input, file select, hidden controls, object controls. In addition to buttons/menus/object con">
Home >Web Front-end >HTML Tutorial >The difference between BUTTON tag and INPUT tag
Summary of the theme in one sentence:
Not original, sourced from the Internet.
Summary of the theme in one sentence:
The Forms part of the HTML 4.01 specification has the following control types: buttons, checkboxes, radio buttons,
menus, text input, file select, hidden controls, object controls.
Except for buttons/menus/object controls, all are completed by .
What I’m talking about here is
As specified in the specification:
Some differences
Everyone knows that can be used like this (in fact, it must be used like this): , must be closed like this. Instead of: . Because the opening tag is required, but the closing tag is prohibited.
You can write like this:, it's great.
The last thing to note is that images included by , this is illegal. Of course, it can no longer contain items such as input, select, textarea, label,
button, form, fieldset, iframe, and isindex (deprecated) elements.
Not original, sourced from the Internet.
The above is the detailed content of The difference between BUTTON tag and INPUT tag. For more information, please follow other related articles on the PHP Chinese website!