HTML MULTIPLE CHOICE QUESTION
Check your Knowledge Press to Start www.prolearninghub.com
1) What is the difference between XML and HTML? HTML is used for exchanging data, XML is not. XML is used for exchanging data, HTML is not HTML can have user defined tags, XML cannot None of the mentioned www.prolearninghub.com
2) The correct example of class selector is . h2.type1 {color: #000000;} h2 type1 {color: #000000;} h2 #type1 {color: #000000;} #h2 type1 {color: #000000;} www.prolearninghub.com
3) To interpret the HTML code, and get a visual layout we need a: Turbo-C Compiler Any Text Editor Any Web-Browser Google’s V8 engine www.prolearninghub.com
4) XHTML stands for: Extreme Hyper Text Markup Language Expire Hyper Text Markup Language Expert Hyper Text Markup Language Extensible Hyper Text Markup Language www.prolearninghub.com
5) Which is responsible for Standardization of HTML: ICNA W3C IEEE Google www.prolearninghub.com
6) In HTML, comment line is as : www.prolearninghub.com
7) What can be define within a single font tag : Only face Only size Only color All of the above www.prolearninghub.com
8) To change default font face or size of a Web-page, use base tag basefont tag baseface tag None of the above www.prolearninghub.com
9) There are ____ sets of HTML tags that form the basic structure needed for every HTML file: 1 2 3 4 www.prolearninghub.com
10) Which tag is used to a command that is used to instruct the computer (specifically browser)? <html> <div> <frame> None of the above www.prolearninghub.com
11) The Heading tag and Paragraph tag can be represented as <head> and <para> <hr> and <pr> <h1> and <p> None of the above www.prolearninghub.com
12) The HTML syntax of HTML5 requires a _____ to be specified to ensure that the browser renders the page in standard mode. DOCTYPE HEAD BODY TITLE www.prolearninghub.com
13) One of the most popular way is to specify character-set using a meta data meta element meta value None of the above www.prolearninghub.com
14) A list which is provided with numeric digit is called an Ordered List Unordered List Definition List None of the above www.prolearninghub.com
15) one attribute is used to identify an image as image map? SMAP ISMAP IMAP www.prolearninghub.com
16) Which one attribute is used to send the coordinate of image to the server When the user clicks on the image? COORD SMAP SIMAP ISMAP www.prolearninghub.com
17) If you want to be sure that the image is indeed the same one that the author intended, and hasn’t been modified in any way, which one attribute inside <img> tag is used? MD NOCHANGE SD LOCK www.prolearninghub.com
18) The value of MD attribute of <img> tag can be MD=”MD5:some text” MD=”DSS1:some text” MD=”SHA512:some text” Any of the above www.prolearninghub.com
19) GIF stands for: Graph Interchange Format Graphics Interlinked Format Graphics Interchange Format None of the above www.prolearninghub.com
20) Which attribute can be used to position the image? position attribute align attribute margin attribute None of the above www.prolearninghub.com
vertspace and hortspace 21) The ____ and ____ indicates vertical space and horizontal space respectively. verspace and horspace vspace and hspace vertspace and hortspace None of the above www.prolearninghub.com
22) The <img> tag attributes are Size attribute Spacing attribute Border attribute All of the above www.prolearninghub.com
23) Which attribute can be created between image and its surrounding text by specifying horizontal and vertical space? space attribute whitespace attribute backspace attribute All of the above www.prolearninghub.com
24) Which address is include the entire pathname? Relative Mixed Absolute None of these www.prolearninghub.com
25) PNG stands for: Portable Network Graphic Pivot Network Graphic Pichart Network Graphic Pythagorus Network Graphic www.prolearninghub.com
26) HTML provides which control to use arranging text and also in defining the things more understandable manner. Tables Frames Div None of the above www.prolearninghub.com
27) Table data may contain text links tables All of the above www.prolearninghub.com
28) Which attribute in Html table is used to give a border to your table? line border margin-left border All of the above www.prolearninghub.com
29) A table with no border <table border=”0″> None of the above www.prolearninghub.com
30) _____ tag is used to define a table header. <th> <td> <tr> None of the above www.prolearninghub.com
31) A table can be spanned either in rows columns columns or rows All of the above www.prolearninghub.com
32) <td> tag stands for: table dimension table date table data None of the above www.prolearninghub.com
33) The DIV element is a block-level element High-level element low-level element middle-level element www.prolearninghub.com
34) In HTML the DIV element can be found inside any element that can contain high elements low elements flow elements All of the above www.prolearninghub.com
35) From which element has very similar properties to the DIV element? strong element span element table element All of the above www.prolearninghub.com
36) The HTML element are used to define a script, like a java script is <div> <script> <canvas> <base> www.prolearninghub.com
37) Which of the is true about HTML element Most of them have attributes Start with start tag and end with end tag Some element are close in the opening tag All of above www.prolearninghub.com
38) What is the HTML to link the external style sheet <script> <style> <exter> www.prolearninghub.com
39) Which is true about <meta> element It is used to bold the text It is used to break line It is used to define style It is used to use metadata about HTML document www.prolearninghub.com
40) What tag we have to use to define a table caption <cpt> <caption> <cap> www.prolearninghub.com
41) Which tag is used to define a header cell in a table <tbh> <tbhr> <thr> <th> www.prolearninghub.com
42) Which of the following attribute(s) isn’t supported by HTML 5? frameborder scrolling marginewidth All of them www.prolearninghub.com
43) SVG graphics do not lose quality when they are realized? True False Can’t determine None of the mentioned www.prolearninghub.com
44) Graphics defined by SVG is in _______________format. HTML XML XHTML DTD www.prolearninghub.com
45) What do you mean by SVG? Secondary vector graphics Scalable vertical graphics Scalable vector graphics Scalable vector graph www.prolearninghub.com
46) Ancestor of all elements on the page is called ________. parent ancestor root element siblings www.prolearninghub.com
47) What is W3C? World Wide Web Consortium World Wide Web Corporation World Wide Web Company World Wide Web Controlling www.prolearninghub.com
48) _______ allows you to set some element to be editable inside the browser. spellcheck contenteditable dropzone contentmenu www.prolearninghub.com
49) If the browser does not support the srcdoc attribute, it will use the ________ provided by the src attribute. URL source documents path www.prolearninghub.com
50) Choose the correct HTML tag for the largest heading? www.prolearninghub.com
The Results