HTML One Mark questions
HTML One Mark questions
a. <pre>
b. <a>
c. <b>
d. <br>
a. <br>
b. <a>
c. <pre>
d. <b>
a. <ul>
b. <ol>
c. <li>
d. <i>
a. \
b. !
c. /
d. .
Answer: (c) /
a. <ul>
b. <ol>
c. <li>
d. <i>
a. <i>
b. <italic>
c. <it>
d. <pre>
Explanation: The img tag and the src attribute is used to display
an image on the webpage.
13) <input> is -
a. a format tag.
b. an empty tag.
c. All of the above
d. None of the above
a. <i>
b. <ul>
c. <u>
d. <pre>
Hide Answer Workspace
a. <select>
b. <list>
c. <dropdown>
d. <option>
a. # and #
b. { and }
c. ! and ?
d. < and >
18) Which of the following tag is used to add rows in the table?
a. new line
b. vertical ruler
c. new paragraph
d. horizontal ruler
a. class
b. id
c. type
d. None of the above
Answer: (b) id
21) Which of the following HTML tag is used to display the text
with scrolling effect?
a. <marquee>
b. <scroll>
c. <div>
d. None of the above
22) Which of the following HTML tag is the special formatting tag?
a. <p>
b. <b>
c. <pre>
d. None of the above
ADVERTISEMENT
Explanation: We can use the <a> (anchor tag) tag, and the href
attribute to mail a person.
24) Which of the following is the container for <tr>, <th>, and
<td> ?
a. <data>
b. <table>
c. <group>
d. All of the above
27) Which of the following is the correct way to create a list using
the lowercase letters?
a. style
b. type
c. class
d. None of the above
a. .ht
b. .html
c. .hml
d. None of the above
a. Web browser
b. Server
c. Interpreter
d. None of the above
Hide Answer Workspace
a. case-sensitive
b. in upper case
c. not case sensitive
d. in lowercase
34) Which of the following is the root tag of the HTML document?
a. <body>
b. <head>
c. <title>
d. <html>
a. <Doctype HTML>
b. <\Doctype html>
c. <Doctype>
d. <!DOCTYPE html>
36) Which of the following tag is used to create a combo box (or
drop-down box)?
a. <list>
b. <select>
c. <input type = "dropdown">
d. <ul>
d) Tim Berners-Lee
a) .ht
b) .hml
c) .html
d) None of the above
b) Markup Language
c) Both a & b
7. HTML uses_________ ?
a) Predefined tags
b) User-defined tags
c) Fixed tags defined by the language
d) Tags for links only
d) <b>
c) <br>
c) Line break
a) <p>
c) SGML
14. All HTML tags are enclosed in what?
a) #and #
b) ?and!
¢) {and}
d) <and>
d) <and>
b) HEAD tag
c) <CAPTION>
c) <br>
18. Which character is used to represent the closing of a tag in
HTML ?
a) \
b) |
c) /
d) .
c) /
19. Which tag tells the browser where the page starts and stops. ?
a) <html>
b) <body>
c) <head>
d) <title>
a) <html>
20. In HTML, tags that include both on and off tags are called ?
a) document tag
b) comment tag
c) container tag
d) None of the above
c) container tag
21. Which color has the same amount of all the original colors ?
a) White, blue and gray
b) White, black and gray
c) Purple, green and blue
d) None of the above
c) BASE
25. Which of the following is the container for <tr>, <th>, and
<td> ?
a) <data>
b) <table>
c) <group>
d) none of these
b) <table>
b) style
27. What tag would you add to specify a font for your whole
page?
a) <defaultfont>
b) <targetfont>
c) <basefont>
d) <font>
a) <defaultfont>
a) <h1>
b) <HEAD>
a) 1 pixel
b) <ul>
a) Numbered list
35. Increasing the cellpadding means ?
a) Increase the space between cells
b) Increase the softness of your site
c) Increase the distance between cell and content
d) All of the above
b) <>
c) <P>
38. The tag for title text for rows and columns is ?
a) <TH>
b) <TD>
c) <TR>
d) None of these
a) <TH>
a) 1020
b) 1024
c) 1048
d) None of the above
b) 1024
40. The symbol used at the beginning of the HREF text is_________
a) #
b) &
0@
d) $
a) #
41. How can you make a list that list the items with numbers ?
a) <ul>
b) <list>
c) <ol>
d) None of the above
c) <ol>
42. Which tag can set the background color for your page ?
a) <font>
b) <body>
c) <head>
d) <title>
b) <body>
a) Images
Show Answer
c) <U>
c) <pre>
c) Paragraph tag
a) horizontal ruler
b) vertical ruler
c) new line text
d) new paragraph
a) horizontal ruler
d) <small>