Account
Login
Categories
HTML
CSS
Python
PHP
MySQL
Linux
Javascript
HTML
CSS
Python
PHP
MySQL
Linux
Javascript
Shobha
The best way to predict the future is to invent it
How do you create a button in HTML? Provide an example.
RELATED INTERVIEW QUESTIONS
What is the role of the <address> tag in HTML, and when should it be used?
How does the href attribute in anchor (<a>) tags behave with relative versus absolute URLs?
What is the role of the <header>, <footer>, <section>, and <article> tags?
What is the role of the <main> tag in HTML5?
What is the purpose of using autofocus in form elements, and how does it work in HTML5?
Can you explain the role of the <datalist> tag in providing pre-defined options for an <input> field?
What is the purpose of the content attribute in the <meta> tag, and how is it used for SEO?
What is the purpose of the <link> tag in HTML?
What is the use of the for attribute in the <label> tag, and how does it enhance form accessibility?
How do the data-* attributes work in HTML5, and how can they be accessed with JavaScript?
What are the accessibility implications of using the <details> and <summary> tags in HTML?
What is the purpose of the <noscript> tag in HTML?
How does the <template> tag work in HTML5?
How can you optimize HTML code for accessibility (e.g., using ARIA attributes)?
What is the difference between class and id attributes in HTML?
X