Sunday, January 17, 2010

HTML Quiz Questions and Answers

Find below MCQ (Multiple Choice) questions and Answers useful for learning HTML.

You can attend our Quiz here.

We are working on to publish more questions in many topics (e.g QTP,mysql,aptidude...). We have already published questions and answers for learning software testing, javascript, and php.

So, you can bookmark this blog for further reading, or you can subscribe to our blog feed.

If you find any issue in any question you can mention thro' comment section or send mail to

You can put the below HTML code in your blog or website for linking into this page.

1) Is it possible to set up a browser so it refuse pages that does not have a content rating meta tag?
a) Yes - many companies and parents actually do
b) No
c) Only with a cybersitter add on
Show Answer

2) When images are used as links they get a blue border.
a) Always
b) Never
c) Unless border is set to zero
Show Answer

3) A 6 digit Hex color (#FF9966) defines values of Red, Blue and Green in which order ?
Show Answer

4) When you count to 15 using hexadecimal numbers, the highest number is what ?
a) F
b) B
c) 15
Show Answer

5) The <small> and <big> tags are special in what way ?
a) They can be repeated
b) They work on anything
c) They are for images only
Show Answer

6) What does vlink mean ?
a) visited link
b) very good link
c) active link
Show Answer

7) Banners, buttons, dividers, clipart and other simple images usually work best as ?
a) fonts
b) gif
c) jpg
Show Answer

8) Which format usually works best for photos ?
a) JPG
c) GIF
Show Answer

9) <a> and </a> are the tags used for ?
a) Audio-voiced text
b) Adding links to your page
c) Aligning text
Show Answer

10) What does the GENERATOR meta tag tell ?
a) What type of server your page is on
b) Which program was used to produce the page
c) Who designed the page
Show Answer

11) What tag is used to add columns to tables ?
a) <colspan>
b) <td>
Show Answer

12) Use<td> and </td>to add what to your tables?
a) columns
b) rows
c) steps
Show Answer

13) What is the REFRESH meta tag used for ?
a) Refresh your keywords
b) Allow search engines to relist your page
c) Redirect to a new domain
Show Answer

14) Screen colors are defined by which colors ?
a) Green, Blue, and Yellow
b) Crayola Colors
c) Red, Green and Blue
Show Answer

15) What tag can prevent sites with adult content from being seen on MSIEbrowsers ?
a) <meta refresh> tag
b)<meta keywords> tag
c) registered <meta http-equiv="pics-label">
Show Answer

16) To specify a font for your whole page add which tag ?
a) <targetfont>
b) <defaultfont>
Show Answer

17) Increasing the cellpadding value will what ?
a) Increase the distance between cell and content
b) Increase the space between cells
c) Increase the softness of your site
Show Answer

18) Which of the following is NOT true of metatags use ?
a) put Mata Tags within Head tag ?
b) Do not include words that are not present on your pages
c) Use as many keywords as you can
Show Answer

19) To change the size of an image in HTML use what ?
a) pliers
b) height and width
c) bigger and smaller
Show Answer

20) Hex-colors are the only way to define colors on the web?
a) True for Internet Explorer, False for Netscape browsers
b) False, colors can also be specified with names and CSS
c) True, computer screens only understands hexadecimal values.
Show Answer

21) Is it a common myth that meta tags seriously improve search engine rankings ?
a) no
b) only in Nepal
c) yes
Show Answer

22) Choose the correct HTML tag to make a text italic
a) <italic>
b) <i>
Show Answer

23) Choose the correct HTML tag to make a text bold
a) <bold>
b) <b>
Show Answer

24) If the background image is smaller than the screen, what will happen ?
a) It will be stretched
b) It will leave a blank space at the bottom of your page
c) It will be repeated
Show Answer

25) HTML defines colors using hexidecimal values, while graphics programs most often use what ?
a) Names
b) Normal numbers
c) RGB Code
Show Answer

26) The <title> tag belongs where in your HTML ?
a) Head
b) Arm
c) Body
Show Answer

27) If you don’t want the frame windows to be resizeable, simply add what to the <frame> lines ?
a) save
b) dontresize
c) noresize
Show Answer

28)How can you make a list that lists the items with numbers?
a) <dl>
b) <ol>
Show Answer

29) Most search engines give serious importance to meta tags when ranking websites in their listings ?
a) True
b) It depends on the keywords
c) False
Show Answer

30) Which colors consist of equal amounts of all basic colors ?
a) purple, green, and red
b) black, blue, and gray
c) white, black and gray
Show Answer

31) Which has higher priority, cell settings or table settings ?
a) Neither
b) Cell settings
c) Table settings
Show Answer

32)What does HTML stand for?
a) Hyper Text Markup Language
b) Hyperlinks and Text Markup Language
c) Home Tool Markup Language
Show Answer

33) What is the correct HTML for adding a background color?
a) <body background="yellow">
c) <body style="background-color:white">
Show Answer

34) To make the appearance of the colors more powerful on your site do which of the following ?
a) Do not use colors
b) Limit their use
c) Splash them all over
Show Answer

35) When is the content of a table shown ?
a) In pieces as it loads
b) Before the border loads
c) After the table is loaded
Show Answer

36) To add rows to your tables use which tags?
a) <td> and </td>
b)<cr> and </cr>
c) <tr> and </tr>
Show Answer

37) Gif and jpg are the two main types of what ?
a) animated effects
b) outlines
c) images
Show Answer

38) WYSIWYG stands for ?
a) What You See Is What You Get
b) When You Start Is When You Go
c) What You See Is What You Gain
Show Answer

39) Choose the correct HTML tag for the largest heading
a) <heading>
c) <head>
d) <h1>
Show Answer

40) Choose the correct HTML to left-align the content inside a tablecell
a) <td valign="left">
b) <tdleft>
c) <td align="left">
d)<td leftalign>
Show Answer

41) To create a bulleted list use ?
a) <il>
b) <ul>
c) <ol>
Show Answer

42) Besides<B>, another way to make text bold is what ?
a) <strong>
b) <dark>
c) <fat>
Show Answer

43) Hexadecimal numbers are numbers based on the value of what ?
a) 10
b) 8
c) 16
Show Answer

44) Which is NOT a predefined target for links ?
a) _son
b) _parent
c) _blank
Show Answer

45) If you do not include a DESCRIPTION meta tag, most search engine will simply list what ?
a) Nothing
b) All text above the fold of your page
c) The first few words on the page
Show Answer

46) How many characters can be written with 1 Kilobyte ?
a) 1024
b) 1
c) Depends on the font used
Show Answer

47)To start a list at the count of 3, use which ?
a) <ol start="3">
b) <ol begin="3">
c)<ol list="5">
Show Answer

48) Who is making the Web standards?
a) The World Wide Web Consortium
b) Mozilla
c) Microsoft
Show Answer

49) Which tag can set the background color for your page?
a) <body>
Show Answer

50) What is the correct HTML tag for inserting a line break?
a) <lb />
b) <br />
c)<break />
Show Answer

51) The attribute used to choose the type of font in HTML is ?
a) Character
b) Face
c) Text-type
Show Answer

52) colspan=n can be added to only what tag?
Show Answer

53) Rather than using Hspace and Vspace you can use which of the following to add spacing to your image ?
a) height and width
b) 1x1 pixel transparent image
c) align=+2
Show Answer

54) What is the correct HTML for creating a hyperlink?
a)<a name="">Qualitypoint Technologies</a>
b) <a href="">Qualitypoint Technologies</a>
c) <a></a>
d) <a url="">Qualitypoint Technologies</a>
Show Answer

55) In the code <frameset cols="120,*"> the following would be true.
a) Top frame would be 120 pixels high
b) Left frame would be 120 inches wide
c) Left frame would be 120 pixels wide
Show Answer

56) Which program do you need to write HTML?
a) Any text editor
b) HTML-development suite 4
c) A graphics program
Show Answer

57) When making bulleted lists you have what options ?
a) disc, circle, square
b) triangle, square, circle
c) square, disc, polygon
Show Answer

58) A file that specifies how the screen is divided into frames is called a __________
a) frameset
b) frametable
c) tablelink
Show Answer

59) Which of these is not valid HTML?
a) <font face="verdana,arial">
c) <font face="verdana">
Show Answer

60) Which of these tags are all <table>tags?
a) <thead><body><tr>
b) <table><tr><td>
Show Answer

61) The <br>tag adds what to your webpage ?
a) Line break
b) Little bubbles
c) Long breaks
Show Answer

62) What tag tells where a link starts ?
a) <l>
b) <start>
c) <a>
Show Answer

63) Settings for columns(<td> tag) have higher priority than settings for rows(<tr> tag)
a) Sometimes true, sometimes not
b) True
c) False
Show Answer

64) Colors in plain HTML can be specified using ?
a) Meta tags
b) Images
c) Hexadecimal Colors
Show Answer

65) Relative path make your hypertext links______.
a) Portable
b) Discrete
c) Uniform
Show Answer

66) <ol> tags will create what kind of list ?
a) Numbered List
b) Bulleted List
c) Grocery List
Show Answer

67) Is it possible to link within the current page ?
a) No
b) Only in framesets
c) Yes
Show Answer

68) Tags and text that do not show directly on the page are placed where ?
a) Body
b) Tables
c) Head
Show Answer

69) To create a list using lowercase letters use ?
a)<ol "a">
b) <ol letter="a">
c)<ol type="a">
Show Answer

70) To seperate single list items use ?
a)<li> and </li>
b)<ol> and </ol>
c) <ul> and </ul>
Show Answer

71) Which section is used for text and tags that are shown directly on your web page ?
a) Body
b) Metatags
c) Head
Show Answer

72) To set the font for a single link, where do you add the <font></font> tags ?
a)Outside the <a> and </a>
b) In the <body> tag
c) Inside the <a> and </a> tags
Show Answer

73) Why should you add alternative text to your images ?
a) In case the user wishes to load a different picture
b) So the user can save the image using the text as a name
c) So the users can get an idea of what the image is before it loads
Show Answer

74) What is used to store information usually relevant to browsers and searchengines?
a) Tabs
b) Cookies
c) Metatags
Show Answer

75) What tag tells the browser where the page starts and stops ?
a) <head>
b) <body>
Show Answer

76) Why should you specify a background color if you are using an image for the actual background of your page ?
a) The background color will be shown until the image loads
b) In case the image doesnt fit right
c) So the text shows up better
Show Answer

77) The background image will scroll when the user scrolls down the page, unless you add which property to the <body> tag?
a) bgproperties="holdstill"
b) bgproperties="fixed"
c) bgproperties="stationary"
Show Answer

78) Imagelinks can show a text label if you add which property?
a) alternative
b) str
c) alt
Show Answer

79) Adding a border to your image helps the visitor to recognize it as what ?
a) A really great picture
b) A frame
c) A Link
Show Answer

80) Which of the following is NOT a valid pair for browser safe colors ?
a) AA
b) CC
c) 00
Show Answer

81)To start a numbered list with regular numerals use ?
a) <ol type="a">
b) <ol type="1">
c) <ol type="I">
Show Answer

82) Defining clickable sub-areas on an image is called?
a) imagelinking
b) imagemapping
c) multiple linking
Show Answer

83) How can you open a link in a new browser window?
a) <a href="url" new>
b) <a href="url" target="_blank">
c) <a href="url" target="new
Show Answer

84) What tag adds a paragraph break after the text ?
b) <P>
c) <BR>
Show Answer

85) Which property will open a page in a new window?
a) target="_self"
b) target="_blank"
c) target="_top"
Show Answer

86) The <i> tag makes text... ?
a) Bold
b) Inline
c) Italic
Show Answer

87) Which two meta tags have special relevance for search engines ?
a) Description and Keywords
b) Description and Name
c) Cookies and Keywords
Show Answer

88) To start a list using circles use which of these tags ?
a) <ul type="circle">
b)<ul "circle">
c) <ul type="round">
Show Answer

89) All normal webpages consist of what two parts ?
a) Head and body
b) Top and bottom
c) Body and frameset
Show Answer

90) Use what to prevent confusion on numbers higher than 9 with hexadecimal colors ?
a) #
b) !
c) %
Show Answer

91) Why do designers often use slight variations of black and white as background colors ?
a) Personal choice
b) Black and white are ugly colors
c) To make the page more readable
Show Answer

92) Which will let text wrap down the side of the image?
a) <img src="myImage.gif" align="wrap">
b)<img src="myImage.gif" align="right">
c) <img src="myImage.gif" wrap="on">
Show Answer

93) There are how many "browser safe colors" ?
a) 16 Million
b) 216
c) 256
Show Answer

94) How do you add a link which will allow the visitor to send an email from your page ?
a) Add an image of an envelope
b)Add <a href="sendmailtoyouraddress">
c) Add <a href="mailto:youraddress">
Show Answer

95) Which tag is used to insert images into your web page ?
a) pic
b) scr
c) img
Show Answer

96) One should never combine the "start" and "type" option ?
a) True
b) Sometimes True, sometimes False
c) False
Show Answer

97) What is the most important tool for adding colors to certain areas of the page rather than the entire background ?
a) Fonts
b) Tables
c) Images
Show Answer

98) All HTML tags are enclosed in what ?
a) <>
b) ? and !
c) # and #
Show Answer

99) Which of the following will NOT be found in the <head> section ?
a) Metatags
b) Title
c) Table
Show Answer

100) Which property tells how many rows a cell should span ?
a) colspan=n
b) Both rowspan=n and colspan=n
c) rowspan=n
Show Answer

101) You can add names to each frame window using which setting ?
a) name
b) src
c) ur
Show Answer

102) Using Hspace will add what to your image ?
a) Space to the left and right
b) Space to the top and bottom
c) Height to all sides
Show Answer


(1) a(2) c (3) c (4) a (5) a (6) a (7) b (8) a(9) b (10) b
(11) b (12) a (13) c (14) c (15) c(16) c (17) a (18) c (19) b (20) b
(21) c (22) b (23) b (24) c(25) c (26) a (27) c (28) b (29) c (30) c
(31) b (32) a (33) c(34) b (35) c (36) c (37) c (38) a (39) d (40) c
(41) b (42) a(43) c (44) a (45) c (46) a (47) a (48) a (49) a(50) b
(51) b(52) b (53) b (54) b (55) c (56) a (57) a (58) a(59) b (60) b
(61) a (62) c (63) b (64) c (65) a(66) a (67) c(68) c (69) c (70) a
(71) a (72) c (73) c (74) c(75) c (76) a (77) b (78) c (79) c (80) a
(81) b (82) b (83) b(84) b (85) b (86) c (87) a (88) a (89) a (90) a
(91) c (92) b(93) c (94) c (95) c (96) c (97) b (98) a (99) c(100) c
(101) a(102) a


Anonymous said...

Super Quiz Thanku

Anonymous said...

It was an amazing quiz it helped me a lot in my homework...

Anonymous said...

Awesome quiz.It recollects the concepts and basics of HTML.Helped a lot in competitive exams too.Thank You,great Quiz!

Search This Blog