+ 2
Designate the username field as required, and focus on the name field when the page loads:
<form autocomplete="off"> <input name="name" type="text" ___ /> <br/> <input name="username" type="text" ______/> </form>
20 odpowiedzi
+ 22
<form autocomplete="off">
<input name="name"
type="text"
autofocus
/>
<br />
<input name="username"
type="text"
required
/>
</form>
+ 2
<form autocomplete="off">
<input name="name"
type="text"
autofocus
/>
<br />
<input name="username"
type="text"
required
/>
</form>
+ 2
the correct answer is :-
1 autofocus
2 required
+ 1
thank you
+ 1
<form autocomplete="off">
<input name="name" type="text" autofocus/>
<br />
<input name="username" type="text" required />
0
For autofocus on page load use the attribut : autofocus
For required : required, but don't forget about html doctype, in first line : <!DOCTYPE html>
0
username
required
0
coma nema pojma
0
autofocus
required
0
Thanks so much am humbled
0
<form autocomplete="off">
<input name="name"
type="text" ,..................
/>
<br />
<input name="username"
type="text"
required
/>
</form>
0
<form autocomplete="off">
<input name="name"
type="text"
autofocus
/>
<br />
<input name="username"
type="text"
required
/>
</form>
0
the new answer is
<form autocomplete="off">
<input name="name"
type="text"
autofocus
/>
<br />
<input name="username"
type="text"
required
/>
</form>
0
autofocus
required
is currect answer
0
1. autofocus
2. required
0
autofocus
required
0
autofocus
required
0
Ans---> 👇👇
autofocus
required
0
<form autocomplete="off">
<input name="name"
type="text"
autofocus
/>
<br />
<input name="username"
type="text"
required
/>
</form>
0
Forms with Required Fields
Designate the username field as required, and focus on the name field when the page loads:
<form autocomplete="off">
<input name="name"
type="text" .......?/>
<br />
<input name="username"
type="text" .......? />
</form>