Materi : Latihan19.html
Silakan copy paste ke notepad dan simpan dengan nama Latihan19.html.
Kemudian jalankan menggunakan browser.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Page Description">
<title>Form Elements</title>
</head>
<body>
<h1>Contact Form</h1>
<form>
<fieldset>
<legend>We're happy to talk with you!</legend>
<p>
<label for="input_name">Full Name:</label>
<input id ="nput_name" type="text" placeholder="Full Name here">
</p>
<p>
<label for="input_emailid">EmailID:</label>
<input id ="input_emailid" type="email" placeholder="EmailID here">
</p>
<p>
<label for="input_message">Message:</label>
<textarea id ="input_message" type="text" placeholder="Your Message" rows="5" cols="50"> </textarea>
</p>
<p><input type="submit" value="Submit"> <input type="reset" value="Reset"></p>
</fieldset>
</form>
</body>
</html>
Output