0
autofocus on input and create placeholder
5 Answers
+ 3
the correct answer is :-
1 placeholder
2 autofocus
+ 1
<form>
<input type="text" name="name"
placeholder="Enter your name"
autofocus />
</form>
+ 1
the correct answer is :-
1 placeholder
2 autofocus
0
the placeholder="#" attribute creates a placeholder
and
adding "autofocus" as an attribute it should autofocus on that input.
<input type="text" placeholder="Placeholder Text Goes Here!" autofocus></input>
- 2
the correct answer is :-
1 placeholder
2 autofocus