Which tag is used to add a drop-down list?
Anonymous Quiz
12%
<list>
6%
<input>
63%
<select>
19%
<dropdown>
Which HTML tag is used for creating numbered lists?
Anonymous Quiz
91%
<ol>
3%
<ul>
5%
<list>
1%
<dl>
Which element contains the main visible content of a web page?
Anonymous Quiz
28%
<main>
6%
<head>
62%
<body>
4%
<section>
Which HTML tag is used for displaying a horizontal line?
Anonymous Quiz
7%
<line>
76%
<hr>
10%
<break>
7%
<hl>
What is the correct HTML for inserting a background color?
Anonymous Quiz
94%
<body style=background-color:yellow;>
3%
<background>yellow</background>
0%
<bg>yellow</bg>
2%
<color bg=yellow>
👍2👎1
Which attribute is used to specify an image alternative text?
Anonymous Quiz
18%
src
75%
alt
1%
noscript
5%
denoscription
Which HTML5 element is used to play a video file?
Anonymous Quiz
12%
<media>
3%
<movie>
81%
<video>
4%
<play>
Which of the following is used to read an HTML page and render it?
Anonymous Quiz
7%
Web server
3%
Web network
85%
Web browser
5%
Web matrix
What is the correct syntax of doctype in HTML5?
Anonymous Quiz
2%
</doctype html>
3%
<doctype html>
1%
<doctype html!>
93%
<!DOCTYPE html>
Which of the following is not a difference between HTML and XHTML?
Anonymous Quiz
24%
Charset in both HTML and XHTML is text/html
27%
Tags and attributes are case-insensitive in HTML but not in XHTML
22%
Special characters must be escaped using character entities in XHTML unlike HTML
27%
Charset in HTML is “text/html” whereas in XHTML it is “application/xhtml+xml”
In which part of the HTML is metadata contained?
Anonymous Quiz
73%
head tag
15%
noscript tag
7%
html tag
6%
body tag
Which element is used to get highlighted text in HTML5?
Anonymous Quiz
3%
<u>
63%
<mark>
29%
<highlight>
5%
<b>
Which of the following is not an HTML5 tag?
Anonymous Quiz
28%
<track>
6%
<video>
55%
<slider>
11%
<source>
How do we write comments in HTML?
Anonymous Quiz
5%
>.……/<
77%
<!-- comment -->
2%
>/……/<
16%
<!.……>
Which element is used for styling HTML5 layout?
Anonymous Quiz
88%
CSS
6%
jQuery
5%
JavaScript
2%
PHP
What is the correct syntax to write an HTML comment?
Anonymous Quiz
13%
<-- Comment -->
6%
// Comment
3%
# Comment
78%
<!-- Comment -->
What is the effect of the <b> tag?
Anonymous Quiz
86%
It converts the text within it to bold font.
5%
It is used to write black-colored font.
5%
It is used to change the font size.
5%
None of the above.
What is the function of the HTML style attribute?
Anonymous Quiz
30%
It is used to add styles to an HTML element.
14%
It is used to uniquely identify some specific styles of some element.
54%
Both A and B.
3%
None of the above.
What is the <select> tag used for?
Anonymous Quiz
44%
Creates a combo box.
43%
Select some attributes and change their style.
4%
Change text font.
10%
None of the above.