HTML Set 3 (50 mcqs)

1. What can be define within a single font tag :
A.   Only face
B.   Only size
C.   Only color
D.   All of the above

2. To change default font face or size of a Web-page, use :
A.   base tag
B.   basefont tag
C.   baseface tag
D.   None of the above

3. Select true statement:
Statement 1:You can assign multiple valuest to face attribute of font tag.
Statement 2: If you specify a font name as face value of font tag, that is not installed on users computer, text will be displayed in browser’s default font.
A.   Only Statement 1 is true.
B.   Only Statement 2 is true.
C.   Both, Statement 1 and Statement 2 are true.
D.   Neither, Statement 1 not Statement 2 is true.

4. There are ……… sets of HTML tags that form the basic structure needed for every HTML file:
A.   one
B.   two
C.   three
D.   four

5. Which tag is used to a command that is used to instruct the computer (specifically browser)?
A.   <html>
B.   <div>
C.   <frame>
D.   None of the above
6. The Heading tag and Paragraph tag can be represented as
A.   <head> and <para>
B.   <hr> and <pr>
C.   <h1> and <p>
D.   None of the above

7. The HTML syntax of HTML5 requires a …………. to be specified to ensure that the browser renders the page in standard mode.
A.   DOCTYPE
B.   HEAD
C.   BODY
D.   TITLE

8. Which tag is used to identify the beginning and end of the HTML document?
A.   <html>
B.   <body>
C.   <title>
D.   None of the above

9. One of the most popular way is to specify character-set using a
A.   meta data
B.   meta element
C.   meta value
D.   None of the above

10. The doctype declaration for the HTML is
A.   case-sensitive
B.   case-insensitive
C.   case-impsensitive
D.   None of the above

11. The sets of HTML tag is
A.   <html></html>
B.   <head></head>
C.   <title></title>
D.   All of the above

12. A list which is provided with numeric digit is called an
A.   Ordered List
B.   Unordered List
C.   Definition List
D.   None of the above

13. An Ordered List can be represented as
A.   <ol>
B.   <ul>
C.   <li>
D.   <el>

14. A list which is provided with a bullet(a black dot) is called an
A.   Ordered List
B.   Unordered List
C.   Definition List
D.   None of the above

15. How many list of HTML is/are
A.   one
B.   two
C.   three
D.   four

16. Defination list can be defined as :
A.   <ol>
B.   <ul>
C.   <dl>
D.   None of the Above

17. What is the correct HTML for inserting an image?
A.   <image src=”image.gif” alt=”MyImage” />
B.   <img src=”image.gif” alt=”MyImage” />
C.   <img alt=”MyImage”>image.gif</img>
D.   <pic src=”image.gif” alt=”MyImage” />

18. What does vlink mean ?
A.   visited link
B.   unvisited link
C.   active link
D.   vertical link

19. one attribute is used to identify an image as image map?
A.   MAP
B.   SMAP
C.   ISMAP
D.   IMAP

20. Which one attribute is used to send the coordinate of image to the server When the user clicks on the image?
A.   COORD
B.   SMAP
C.   SIMAP
D.   ISMAP

21. 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?
A.   MD
B.   SD
C.   NOCHANGE
D.   LOCK

22. The value of MD attribute of <img> tag can be
A.   MD=”MD5:some text”
B.   MD=”DSS1:some text”
C.   MD=”SHA512:some text”
D.   Any of the above

23. Which one is the mandatory attribute of the <img> tag?
A.   SRC
B.   HREF
C.   ID
D.   ALT

24. Statement1:The <IMG> tag is used to incorporate in-line graphics (typically icons or small graphics) into an HTML document.
Statement2:The <IMG> element is also intended for embedding other HTML text.
Statement 3:For large figures with captions and text flow see FIG element.
A.   Statement 1 and Statement 2 are true.
B.   Statement 2 and statement 3 are true.
C.   Statement 1 and statement 3 are true.
D.   All three statements are true.

25. Which tag is used to define an image in HTML?
A.   <img>
B.   <image>
C.   <pic>
D.   None of the above

26. Which type of parameter specify the path where your image is placed?
A.   path
B.   scr
C.   src
D.   None of the above

27. GIF stands for:
A.   Graph Interchange Format
B.   Graphics Interlinked Format
C.   Graphics Interchange Format
D.   None of the above

28. Which attribute can be used to position the image?
A.   position attribute
B.   align attribute
C.   margin attribute
D.   None of the above

29. The ……….. and ………….indicates vertical space and horizontal space respectively.
A.   verspace and horspace
B.   vspace and hspace
C.   vertspace and hortspace
D.   None of the above

30. The <img> tag attributes are
A.   Size attribute
B.   Spacing attribute
C.   Border attribute
D.   All of the above

31. Which attribute define the width and height of the image?
A.   Size attribute
B.   length attribute
C.   margin attribute
D.   All of the above

32. Which attribute can be created between image and its surrounding text by specifying horizontal and vertical space?
A.   space attribute
B.   whitespace attribute
C.   backspace attribute
D.   All of the above

33. Which address is include the entire pathname?
A.   Relative
B.   Mixed
C.   Absolute
D.   None of the above

34. PNG stands for:
A.   Portable Network Graphic
B.   Pivot Network Graphic
C.   Pichart Network Graphic
D.   Pythagorus Network Graphic

35. HTML provides a functionality to connect one or more pages in web-pages or resources.
A.   link
B.   src
C.   node
D.   tree

36. The <img> tag is supported by
A.   internet explorer
B.   mozilla firefox
C.   google chrome
D.   All of the above

37. HTML provides which control to use arranging text and also in defining the things more understandable manner.
A.   Tables
B.   Frames
C.   Div
D.   None of the above

38. A table contains rows which is defined by
A.   <tr> tag
B.   <td> tag
C.   <th> tag
D.   None of the above

39. Table data may contain
A.   text
B.   links
C.   tables
D.   All of the above

40. Which attribute in Html table is used to give a border to your table?
A.   line
B.   border
C.   margin-left border
D.   All of the above

41. A table with no border
A.   <table border=”0″>
B.   <table border=”1″>
C.   <table border=” “>
D.   None of the above

42. ….. tag is used to define a table header.
A.   <th>
B.   <td>
C.   <tr>
D.   None of the above

43. A table can be spanned either in
A.   rows
B.   columns
C.   columns or rows
D.   All of the above

44. Which controls will be used in space between table cells?
A.   Celpadding
B.   Celspacing
C.   Celshifting
D.   All of the above

45. ……….. and ………….. are used to define a span in column and rows respectively.
A.   ‘colspan’ and ‘rowspan’
B.   ‘celpadding’ and ‘celspacing’
C.   either (A) or either (B)
D.   neither (A) or nor (B)

46. <td> tag stands for:
A.   table dimension
B.   table date
C.   table data
D.   None of the above

47. Which element in HTML defines sections of a web page?
A.   table
B.   div
C.   frame
D.   None of the above

48. The DIV element is a
A.   block-level element
B.   High-level element
C.   low-level element
D.   middle-level element

49. In HTML the DIV element can be found inside any element that can contain
A.   high elements
B.   low elements
C.   flow elements
D.   All of the above

50. From which element has very similar properties to the DIV element?
A.   strong element
B.   span element
C.   table element
D.   All of the above

Answers

1.D 2.B 3.C 4.D 5.A 6.C
7.A 8.A 9.B 10.B 11.D 12.A
13.A 14.B 15.C 16.C 17.B 18.A
19.C 20.D 21.A 22.D 23.A 24.C
25.A 26.C 27.C 28.B 29.B 30.D
31.A 32.A 33.C 34.A 35.A 36.D
37.A 38.A 39.D 40.B 41.A 42.A
43.D 44.B 45.A 46.C 47.B 48.A
49.C 50.B

 

Spread the love

Leave a Comment

Your email address will not be published. Required fields are marked *