MCQs>IT & Programming>HTML 5>What happens when the browser processes the autofocus attribute in the following code? <input type="text" name="user-name" autofocus="autofocus" />
HTML 5 MCQs
What happens when the browser processes the autofocus attribute in the following code? <input type="text" name="user-name" autofocus="autofocus" />
Answer
Correct Answer: The browser automatically gives the user-name field focus when the page loads.
Explanation:
Note: This Question is unanswered, help us to find answer for this one