HTML Question Answers
HTML Question Answers
HTML Question Answers
By: www.deepdeveloper.in
Here are 100+ HTML questions and answers that you
can use for interview preparation:
Q.4 What are some common HTML tags used for text
formatting?
Answer: Some common HTML tags used for text formatting
are <b> for bold, <i> for italic, <u> for underline, and <br> for
line break.
3
Q.17 What is the purpose of the "id" attribute in
HTML?
Answer: The "id" attribute in HTML is used to uniquely
identify an element on a web page. It is commonly used for
scripting purposes or for applying styles using CSS.
4
Q.20 What is the purpose of the "form" element in
HTML?
Answer: The <form> element in HTML is used to create a
container for a collection of form elements, such as input
fields, buttons, checkboxes, etc. It is used to collect user
input data and send it to the server for processing.
6
For Full PDF
Visit: https://deepdeveloper.in/