Tutorialspoint

HTML input width Attribute

<!DOCTYPE html>
<html>
   <body>
      <h2>Register</h2>
      <form action="" method="get">
         Id: <input type="text" name="id" placeholder="Enter UserId here..." size = "25"><br>
         Password: <input type="password" name="pwd" placeholder="Enter password here..."><br>
         DOB: <input type="date" name="dob"><br>
         Telephone: <input type="tel" name="tel" placeholder="Enter mobile number here..."><br>
         Email: <input type="email" name="email" placeholder="Enter email here..." size = "35"><br><br>
         <input type="image" src="go.jpg" alt="Submit" width="120" height="60">
      </form>
   </body>
</html>

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.