HTML Interview Questions - Here we discuss about top 10 html interview questions. Some interview questions are; how to hide text without take any space.
2. Sitesbay.com
HTML Interview Questions
These all html interview questions are most important for every fresher.
1. Is audio tag supported in HTML 5?
Yes. It is used to add sound or music files on the web page.
2. What is the use of figure tag in HTML 5?
The figure tag is used to add a photo in the document on the web page.
3. What is the difference between HTML elements and tags?
HTML elements communicate to the browser how to render text. When
surrounded by angular brackets <> they form HTML tags. For the most part, tags
come in pairs and surround text.
4. What is the difference between progress and meter tag?
The progress tag is used to represent the progress of the task only while the
meter tag is used to measure data within a given range.
5. What is the syntax difference between a bulleted list and numbered list?
Bulleted lists use the <ul> tag, which stands for “unordered,” whereas <ol> is used
to create an ordered list.
6. What is the advantage of collapsing white space?
The browser collapses the multiple white spaces into a single white space in
HTML.
This allows the developers to arrange the HTML code in a well organized and
legible format.
3. Sitesbay.com
7. Is it possible to list elements straight in an html file?
Yes
8. How can I hide my source?
No. you can’t hide your source as it is required by the browser to display your
document.
9. What is a <dl> tag in HTML?
<dl> is a definition list tag used in HTML. It is used with <dt> and <dd>. <dt> list
the item while <dd> describes it.
10.What are empty HTML elements?
HTML elements with no content are called empty elements.
For eg: <br>
For More Interview Questions visit our Website Sitesbay.com