A word summarizing the subject:
have
the same effect but are more powerful in terms of maneuverability.
The forms section of the HTML 4.01 specification has the following types of controls: Buttons, checkboxes, radio buttons, menus, text input, file Select, hidden controls, Obje CT controls. In addition to Buttons/menus/object controls, all are
done by.
What I'm saying here is.
and
.
and the
Named in the specification: can be used
and
to do the form press-button. Please refer to the detailed definition of these elements for different button types. It
's important to note that
richer performance features than support.
Some differences
We all know that
this can be used (in fact it must be used):
, must be closed. Rather than:
. Because the start tag is mandatory , closing the label is Forbidden .
The more powerful thing is that it can
contain content . Its value is not written in the
value
attribute, but is included in the label. such as
:
OK
。
Both the start tag and the close tag are
required . This way you get the style of the dominant power.
You can write this:
OK, I do.
, or even insert a picture:
, it's great.
。 Kind of like
, but it's obviously much stronger.
The last point to note is that the images contained by
cannot use a hotspot map, that is, you cannot
, which is illegal. Of course, you can no longer include input
, select
, textarea
, label
, button
, form
, fieldset
, iframe
, and isindex
(deprecated) elements.