Example:
HTML
<form>
<label for="fname">First name:</label><br>
<input type="text" id="fname" name="fname" autofocus><br>
<label for="lname">Last name:</label><br>
<input type="text" id="lname" name="lname">
</form>
Hoow is to look HTML autofocus Attribute | HTML Input Attributes |
Full Code Example of HTML autofocus Attribute | HTML Input Attributes |
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Input Attributes |
Uploaded by: | Admin |