Skip to main content

HTML5 Semantics | Fresco Play | Hands On 4 | Registration form.

 Question :
Question is provided in the snip below :





.....................................................................................................................................

Code in the index.html file is given below :


<!DOCTYPE html>
<html>
<head>
  <link rel="icon" href="favicon.png" type="image/png">
  <title>Destiny</title>
  <link href="mystyle.css" rel="stylesheet" type="text/css">
</head>
<body>
<h1>Registration Form</h1>
<form >
Name: <input type="text">
Date of Birth: <input type="date">
Country: <input type="country">
<datalist id="country">
  <option value="India">
    <option value="United States">
      <option value="United Kingdom">
        <option value="Australia">
          <option value="France">

</datalist>
Phone Number: <input type="tel">
Email: <input type="email">
Website: <input type="url">
</form>
</body>
</html>

















Comments