<!DOCTYPE html> | |
<html> | |
<head> | |
<title>autofocus on form control</title> | |
</head> | |
<body> | |
<div>Below form control has autofocus attribute set.</div><br /> | |
<form action=""> | |
<span>Textbox: </span><input autofocus="autofocus" type="text" name="movie" /> | |
</form> | |
</body> | |
</html> |