;

Adding the Fieldset Code to the Form in HTML

What is the Fieldset code on the Form in HTML?



buayaberdiri.blogspot.com - Usually, the registration or login form rarely uses a line that surrounds the form and forms a box in which there is a box.

In the html form lesson we will get to know the fieldset code, this code will form a box on the form. To beautify the edges of the lines on the form you can do with css code.

See sample code below:

<form action="">
        <fieldset>
            <legend>Register Form</legend>
                    Name : <input type="text" name="type your ID" id="IdName" placeholder="Type your Name or ID"><br/><br>
                    Email : <input type="email" name="Email" id="Mail" placeholder="Type your Email"><br/><br/>
                    Password : <input type="password" name="passwordAccount" id="passwordAccount"><br/><br/>
                    Born : <input type="date" name="BornDate" id="Age"><br/><br/>
                    Portofolio File : <input type="file" name="ChooseFile" id="FileSelect"><br/><br/>
                    <input type="submit" value="Login"><br/>
        </fieldset>
    </form>




Then the result will be like this:


How to created fieldset in html form


Check out other articles about HTML:


  1. Learn Input Types In HTML For Login And Register Form
  2. Learn HTML List - How To Create Square, Circle, Number List
  3. How To Create Comments Line In HTML
  4. How to Add Text Formatting In HTML






List of Article Posts https://buayaberdiri.blogspot.com