Comments: Previously, HTML was not easy to learn, which made it very novel to see the style of the control group. fieldset> tags pack part of the Form Content and generate a set of related form fields, the following describes how to use the fieldset tag in HTML. If you are interested, you may find it helpful.
I. Regret
Previously, HTML was not easy to learn. As a result, the style of the control group was very novel, so css was used to implement one. However, it was discovered that so easy only when the label was accidentally touched. Alas! Learn more in the future. Well, if you don't need to worry about it, you can write it to yourself and be alert. Start learning this label.
Ii. Brief Introduction
<Fieldset> the label packs a part of the Form Content and generates a set of related form fields. Extract two meanings:
1. fieldset exists in form (this is inaccurate );
2. Grouping and packaging functions. Field: [fi ː ld] field; pasture; wilderness; battlefield; meaning of sports field, fieldset is obvious, that is, "My website listens to me ". I will attach this series of labels to you.
The <legend> label defines the title for the fieldset element.
The Code is as follows:
<Form>
<Fieldset>
<Legend> health information </legend>
Height: <input type = "text"/>
Weight: <input type = "text"/>
</Fieldset>
</Form>