Post by: Ian
Tag Html Legend
Contoh:
<form action="fieldsetdemo/">
<fieldset>
<legend>Identitas</legend>
<label for="yourname">Nama:</label> <input name="yourname" id="yourname">
<label for="yourage">Usia:</label> <input type="number" name="yourage" id="yourage">
</fieldset>
<fieldset>
<legend>Alamat</legend>
<label for="housenumber">Nomer Rumah:</label> <input type="number" name="housenumber" id="housenumber">
<label for="street">Nomer HP:</label> <input name="street" id="street">
<label for="postcode">Kode Pos:</label> <input name="postcode" id="postcode">
</fieldset>
<input type="submit">
</form>
Preview:
No comments:
Post a Comment