Account
Login
Categories
HTML
CSS
Python
PHP
MySQL
Linux
HTML
CSS
Python
PHP
MySQL
Linux
Shobha
The best way to predict the future is to invent it
What is the purpose of the role attribute in HTML, and how does it enhance web accessibility?
RELATED INTERVIEW QUESTIONS
How can you create an HTML table?
How does the <section> tag differ from the <div> tag semantically in HTML5?
Can you explain the browser’s rendering process when an HTML page is loaded?
What is the required attribute in HTML forms?
What is the role of the rel attribute in a <link> tag, and how does it affect linking to stylesheets, icons, etc.?
What does the tabindex attribute do in HTML?
What is the aria-label attribute, and how does it enhance accessibility in HTML forms?
What are the differences between localStorage and sessionStorage in HTML5?
What is the difference between <input type=submit> and <input type=button> in HTML?
How can you use the target=_self attribute in HTML links?
What is the significance of using semantic HTML5 elements like <header>, <footer>, <nav>, <article>, and <section>?
What is the role of the <ruby> tag in HTML5 for rendering East Asian typography?
How do you embed a Google map using HTML5s <iframe> tag?
How does the <input> tag work in HTML? Explain different types of inputs.
What does the async attribute do in HTML5?
X