<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HTML'de <fieldset> Etiketi Örneği</title>
</head>
<body>
<form action="" method="post">
<fieldset>
<legend>Kişisel Bilgileri:</legend>
<p>
<label for="adsoyad">Ad-soyad</label> <br>
<input type="text" name="adsoyad" id="adsoyad">
</p>
<p>
<label for="telefon">Telefon</label> <br>
<input type="tel" name="telefon" id="telefon">
</p>
</fieldset>
<fieldset>
<legend>Sosyal Medya:</legend>
<p>
<label for="facebook">Facebook</label> <br>
<input type="text" name="facebook" id="facebook">
</p>
<p>
<label for="twitter">Twitter</label> <br>
<input type="text" name="twitter" id="twitter">
</p>
</fieldset>
<p>
<button type="submit">Kaydet</button>
</p>
</form>
</body>
</html>