weblinks

Thursday, 2 August 2012

html Interview Questions and Answers

 HTML interview questions and Answers(Multiple Choice)-HTML Quiz-2


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

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

3) A 6 digit Hex color (#FF9966) defines values of Red, Blue and Green in which order ?
a) #BBRRGG
b) #BBGGRR
c) #RRGGBB

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

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

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

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

8) Which format usually works best for photos ?
a) JPG
b) HTML
c) GIF

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

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

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

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

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

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

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

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

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

18) Which of the following is NOT true of metatags use ?
a) Which of the following is NOT true of metatags use ?
b) Do not include words that are not present on your pages
c) Use as many keywords as you can

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

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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>

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

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

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

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

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

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

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

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

49) Which tag can set the background color for your page?
a) <body>
b)<head>
c)<font>

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

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

52) colspan=n can be added to only what tag?
a)<table>
b)<td>
c)<tr>

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

54) What is the correct HTML for creating a hyperlink?
a)<a name="http://www.qualitypointtech.com">Qualitypoint Technologies</a>
b) <a href="http://www.qualitypointtech.com">Qualitypoint Technologies</a>
c) <a>http://www.qualitypointtech.com</a>
d) <a url="http://www.qualitypointtech.com">Qualitypoint Technologies</a>

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

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

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

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

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

60) Which of these tags are all <table>tags?
a) <thead><body><tr>
b) <table><tr><td>
c)<table><head><tfoot>
d)<table><tr><tt>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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">

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

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">

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

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

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

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

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

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

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

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

Answers

(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

0 comments:

Post a Comment