Account
Login
Categories
HTML
CSS
Python
PHP
MySQL
Linux
Javascript
Cloud
HTML
CSS
Python
PHP
MySQL
Linux
Javascript
Cloud
Shobha
The best way to predict the future is to invent it
What is the use of the for attribute in the <label> tag, and how does it enhance form accessibility?
RELATED INTERVIEW QUESTIONS
What is the difference between class and id in HTML for styling?
Explain how to create a custom HTML form validation using the pattern attribute.
Explain the <meter> tag in HTML5.
What are the benefits of using the <summary> tag inside the <details> tag in HTML5?
What is the purpose of the action attribute in HTML forms?
What is the <iframe> tag used for?
How can you create accessible form controls using HTML5? Provide an example.
What is the difference between class and id attributes in HTML?
What is the readonly attribute in HTML forms?
What is the purpose of the srcset attribute in the <img> tag?
What is the crossorigin attribute used for in HTML5?
What are the new form elements introduced in HTML5?
How do HTML <b> and <i> tags differ from <strong> and <em> tags semantically?
How can you use HTML to structure a form with multiple input types (e.g., text, email, password)?
How does the disabled attribute work in form elements, and how does it differ from readonly?
X