HTML Quiz
Question: In HTML documents the tags
(a) Should be written in uppercase
(b) should be written in lowercase
(c) should be written in the proper case
(d) can be written in both uppercase and lowercase
View Answer
Question: Choose the correct HTML tag for the smallest size heading?
(a)
(b)
(c)
(d)
View Answer
Question: There are ____ different heading tags in HTML
(a) 4
(b) 5
(c) 6
(d) 7
View Answer
Question: tag makes the enclosed text bold. What is another tag to make text bold?
(a)
(b)
(c)
(d)
View Answer
Question: Which of the following is not a style tag?
(a)
(b)
(c)
(d) All of the above are style tags
View Answer
Question: What is the correct HTML tag for inserting a line break?
(a)
(b)
(c)
(d)
View Answer
Question: The way the browser displays the object can be modified by _____
(a) attributes
(b) parameters
(c) modifiers
(d) None of the above
View Answer
Question: Choose the correct HTML tag for the largest heading?
(a)
(b)
(c)
(d)
View Answer
Question: Which of the following HTML code is valid?
(a)
(b)
(c)
(d) All of the above are style tags
View Answer
Question: HTTP
(a) Hypermedia text transfer protocol
(b) Hypertext Transfer protocol
(c) HTML testing programme
(d) None of the above
View Answer
Question: Which attribute is used to name an element uniquely?
(a) class
(b) id
(c) dot
(d) all of the above
View Answer
Question: Which of the following is an attribute related to font tag?
(a) size
(b) face
(c) color
(d) All of the above are style tags.
View Answer
Question: What tag is used to display a picture on a webpage?
(a) picture
(b) image
(c) img
(d) src
View Answer
Question: HTML supports
(a) ordered lists
(b) unordered lists
(c) both types of lists
(d) does not support those types
View Answer
Question: To create a combo box (drop down box) which tag will we use?
(a)
(b)
(c)
(d) all of the above
View Answer
Question: What tag is used to list individual items of an ordered list?
(a) LI
(b) OL
(c) UL
(d) None of above
View Answer
Question: Choose the correct HTML tag to make a text bold?
(a)
(b)
(c)
(d)
View Answer
Question: When should we use the path along with the file name of a picture in IMG tag?
(a) The path is optional and not necessary.
(b) when the location of the image file and html file are different
(c) when an image file and html file are both in the same location
(d) a path is always necessary when inserting an image
View Answer
Question: Which of the following is not a pair tag?
(a)
(b) < u >
(c)
(d)
View Answer
Question: Which of the following is not a valid alignment attribute?
(a) Left
(b) Right
(c) Top
(d) All of the above
View Answer
Question: Which tag allows us to add a row to a table?
(a)
(b)
(c)
(d)
View Answer
Question: Which attribute is used with the img tag to add a text description, if the image cannot be displayed?
(a) description
(b) name
(c) alt
(d) id
View Answer
Question: To create an HTML document we require a
(a) web page editing software
(b) High powered computer
(c) even a notepad can be used
(d) None of the above
View Answer
Question: A webpage displays a picture. What tag was used to display that picture?
(a) picture
(b) mage
(c) img
(d) src
View Answer
Question: Which tag allows you to add a row to a table?
(a)
(b)
(c)
(d)
View Answer
Question: Which of the following is an attribute of tag?
(a) SRC
(b) LINK
(c) CELLPADDING
(d) BOLD
View Answer
Question: The special formatting codes in HTML documents used to present content are
(a) tags
(b) attributes
(c) values
(d) None of the above
View Answer
Question: HTML documents start and end with which tag pairs?
(a)
(b) ….
(c) ….
(d)
View Answer
Question: tag can be placed within ____
(a) Header
(b) Body
(c) both A and B
(d) none of the above
View Answer
Question: Some tags enclose the text. Those tags are known as
(a) Couple tags
(b) Single tags
(c) Double tags
(d) Pair tags
View Answer
Question:
(a) Table heading
(b) Table Records
(c) Table row
(d) none of the above
View Answer
Question: Choose the correct HTML tag to make the text italic
(a)
(b)
(c)
(d)
View Answer
Question: The _____ character tells browsers to stop tagging the text
(a) ?
(b) /
(c) >
(d) %
View Answer
Question: using tag will
(a) Start a new paragraph
(b) break the line
(c) end the current paragraph
(d) none of the above
View Answer
a)
b)
c)
d)
a) image.gif
b)
c)
d) None of the above
54. What will be the added by using
tag?
a) rows
b) steps
c) cell
d) columns
55. Imagelink can show a text label if you add property
a) alt
b) str
c) alternative
d) All of the above
56. Which format usually works best for photos?
a) HTML
b) GIF
c) JPG
d) All of the above
57. Which property tells how many rows a cell should span?
a) colspan=n
b) rowspan=n
c) Both (A) and (B)
d) None of the above
58. Which tag is used to add columns to tables?
59. Which tag can add colspan=n?
60. To set the font for a single link, where do you add the tags?
a) In the tag
b) Outside the and tags
c) Inside the and tags
d) None of the above
61. How can you open a link in a new browser window?
62. If the background image is smaller than the screen, what will happen?
a) It will be streteched
b) It will be repeated
c) It will leave a blank space at the bottom of your page
d) None of the above
63. The HTML tags are all
a) in lower case
b) in upper case
c) case sensitive
d) not case sensitive
64. The tag makes text….?
a) Inline
b) Underline
c) Italic
d) None of the above
65. Why should you add alternative text to your images?
a) So the user can save the image using the text as a name
b) So the users can get an idea of what the image is before
c) In case the user wishes to load a different picture
d) All of the above
67. Which tag tells where a link starts?
68. Which the correct e-mail link?
69. Which section is used for text and tags that are shown directly on your web page?
a) Head
b) Metatags
c) Body
d) title
70. The MIME text file is saved with
a) CSS extension
b) HTML extension
c) HMT extension
d) None of the above
71. The attribute used choose the type of font in HTML is?
a) Character
b) Face
c) Text-type
d) All of the above
72. What is the correct HTML tag for inserting a line break?
73. To start a list at the count of 3, use
74. To change the size of an image in HTML, use
a) Pliers
b) Bigger and smaller
c) Top and bottom
d) Height and width
75. The tag for the table rows is
a)
b)
c)
d) None of the above
a) active link
b) visible link
c) visited link
d) None of the above
77. Who is making the Web standards?
a) The World Wide Web Consortium
b) Internet Explorer
c) Netscape Navigator
d) None of the above
78. What is the most important tool for adding color to certain areas of the page rather than the entire background?
a) Fonts
b) Image
c) Tables
d) All of the above
79. The paragraphs are break using
a) U tag
b) P tag
c) BR tag
d) HR tag
80. When making bulleted lists, which options do you have?
a) triangle, disc, circle
b) triangle, square, circle
c) disc, circle, square
d) square, disc, polygon
81. Tags and text that do not show directly on the page are placed in
a) Head
b) Body
c) Title
d) None of the above
82. All HTML documents will be basically
a) Graphs
b) Text
c) Pictures
d) None of the above
83. Which of these is not valid HTML?
84. To create a list using lowercase letters, use
85. Which code will led text wrap down the side of the image?
a)
b)
c)
d) None of the above
86. The tag for the table data is
a)
b)
c)
d) None of the above
87. Defining clickable sub-areas on an image is called
a) image linking
b) multiple mapping
c) image mapping
d) None of the above
88. The tag used to create a new list item and also include a hyperlink
89. The attribute that defines the relationship between the current document and the HREF’ed URL is
90. The basic format for text link is
91. The attribute used to create the actual section within the current HTML document is
a) LINK
b) HERF
c) BASE
d) NAME
93. When images are used as links they get a blue border.
a) Always
b) Never
c) Unless border is set to zero
d) None of the above
94. Where do you place the tag in HTML?
a) Base
b) Head
c) Body
d) None of the above
95. What is the correct HTML code for inserting a background image?
a)
b)
c)
d)
96. The tags which are required for every HTML page you create
a) Document
b) Comment
c) Container
d) None of the above
97. The style element holds the document for setting
a) colour, alignment and border
b) font, colour and alignment
c) font, colour, alignment and border
d) colour, alignment
98. How many characters can be written with 1 kilobyte?
a) 1000
b) 1024
c) 1048
d) None of the above
99. One should never combine the “start” and “type” option.
a) True
b) False
c) Sometimes True, Sometimes False
d) None of the above
100. To start a numbered list with regular numerals, use
101. The tag for title text for rows and columns is
a)
b)
c)
d) None of the above
102. How do you add a link which will allow the visitor to send an email from your page?
103. The symbol used at the beginning of the HREF text is
104. The format of the tag is
105. The tag used to create a hypertext relationship between the current document and an external resource is
106. The default value of BORDER attribute is
a) 1 pixel
b) 2 pixel
c) 3 pixel
d) None of the above
107. To set the color for table borders, use ______
a) bgcolor=#003300
b) bgimage=#003300
c) bordercolor=#003300
d) tablecolor=#003300
108. What is the correct HTML for adding a background color?
109. The background image will scroll when the user scrolls down the page, you add which property to the tag?
a) bgproperties = “fixed”
b) bgproperties = “move”
c) bgproperties = “holdstill”
d) None of the above
110. The most basic element of any HTML page is
a) ASCII text
b) text
c) BCD text
d) None of the above
111. To separate single list, use
112. To create a numbered list, use
113. Which of the following is italic tag
a) SGML
b) CTML
c) STML
d) None of the above
115. Why should you specify a background color if you are using an image for the actual background of your page?
a) So the text shows up better
b) In case the image doesn’t fit right
c) The background color will be shown until the image loads
d) None of the above
116. Which attribute is used to name an element uniquely?
a) class
b) id
c) dot
d) All of the above
117. Text within tag is displayed as
a) list
b) italic
c) underline
d) bold
118. To create a combo box which tag will you use?
119. Which tag create a check box for a form in HTML?