tag can be placed within ________", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "Both A and B" }, "option": [{"@type": "Answer", "text": "Header"},{"@type": "Answer", "text": "Body"},{"@type": "Answer", "text": "Both A and B"},{"@type": "Answer", "text": "none of the above"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 32", "text": " … tag is used for ________", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "None of the above" }, "option": [{"@type": "Answer", "text": "Table heading"},{"@type": "Answer", "text": "Table Records"},{"@type": "Answer", "text": "Table row"},{"@type": "Answer", "text": "None of the above"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 33", "text": "Which is true to change the text color to red?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "" }, "option": [{"@type": "Answer", "text": ""},{"@type": "Answer", "text": ""},{"@type": "Answer", "text": ""},{"@type": "Answer", "text": "none of the above"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 34", "text": "A homepage is __________", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "the first page of a website" }, "option": [{"@type": "Answer", "text": "an index of encyclopedia articles"},{"@type": "Answer", "text": "where all Internet data is stored"},{"@type": "Answer", "text": "required for access to the Internet"},{"@type": "Answer", "text": "the first page of a website"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 35", "text": "Which of the following is used to run a HTML document?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "Browser" }, "option": [{"@type": "Answer", "text": "Browser"},{"@type": "Answer", "text": "Spreadsheet"},{"@type": "Answer", "text": "Clipboard"},{"@type": "Answer", "text": "Draw"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 36", "text": "Which of the following are commonly found on web pages?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "hyperlinks" }, "option": [{"@type": "Answer", "text": "Internet"},{"@type": "Answer", "text": "hyperlinks"},{"@type": "Answer", "text": "intranet"},{"@type": "Answer", "text": "all of the above"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 37", "text": "Which of the following is an attribute of tag?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "CELLPADDING" }, "option": [{"@type": "Answer", "text": "SRC"},{"@type": "Answer", "text": "LINK"},{"@type": "Answer", "text": "CELLPADDING"},{"@type": "Answer", "text": "BOLD"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 38", "text": "Which HTML tag would be used to display power in expression (A+B)2 ?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "" }, "option": [{"@type": "Answer", "text": ""},{"@type": "Answer", "text": ""},{"@type": "Answer", "text": ""},{"@type": "Answer", "text": "

"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 39", "text": "What is tag in HTML?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "It renders fonts as teletype text font style." }, "option": [{"@type": "Answer", "text": "It renders fonts as teletype text font style."},{"@type": "Answer", "text": "It renders fonts as truetype text font style."},{"@type": "Answer", "text": "It renders fonts as truncate text font style."},{"@type": "Answer", "text": "None of the Above."}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 40", "text": "Which of the following tags are related to Table in HTML ?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "

" }, "option": [{"@type": "Answer", "text": " "},{"@type": "Answer", "text": "
"},{"@type": "Answer", "text": ""},{"@type": "Answer", "text": "
"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 41", "text": "What is the use of Forms in HTML?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "to collect user’s input." }, "option": [{"@type": "Answer", "text": "to display contents of email."},{"@type": "Answer", "text": "to display animation effect."},{"@type": "Answer", "text": "to collect user’s input."},{"@type": "Answer", "text": "None of the Above."}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 42", "text": "Which tag is used to lists the items with bullets?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "" }, "option": [{"@type": "Answer", "text": ""},{"@type": "Answer", "text": ""},{"@type": "Answer", "text": "
    …"},{"@type": "Answer", "text": "
    "}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 43", "text": "Which of the following is correct to align H1 tag to Right Alignment", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "

    " }, "option": [{"@type": "Answer", "text": "

    "},{"@type": "Answer", "text": "

    "},{"@type": "Answer", "text": "

    "},{"@type": "Answer", "text": "H1 cannot make Right Alignment"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 44", "text": "Which of the following is correct to change font face in Web Page", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "" }, "option": [{"@type": "Answer", "text": " …"},{"@type": "Answer", "text": ""},{"@type": "Answer", "text": ""},{"@type": "Answer", "text": "Font Face cannot change"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 45", "text": "Which of the following is used to create web pages?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "HTML" }, "option": [{"@type": "Answer", "text": "HTML"},{"@type": "Answer", "text": "C"},{"@type": "Answer", "text": "JVM"},{"@type": "Answer", "text": "DTD"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 46", "text": "HTML document is saved using ____ extension.", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": ".html" }, "option": [{"@type": "Answer", "text": ".htl"},{"@type": "Answer", "text": ".html"},{"@type": "Answer", "text": ".hml"},{"@type": "Answer", "text": ".htnl"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 47", "text": "Caption Tag in HTML?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "both" }, "option": [{"@type": "Answer", "text": "is used to display the Title for table at the top"},{"@type": "Answer", "text": "is used to display the Title for table at the bottom"},{"@type": "Answer", "text": "both"},{"@type": "Answer", "text": "none"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 48", "text": "CSS is an acronym for", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "Cascading Style Sheet" }, "option": [{"@type": "Answer", "text": "Cascading Style Sheet"},{"@type": "Answer", "text": "Costume Style Sheet"},{"@type": "Answer", "text": "Cascading System Style"},{"@type": "Answer", "text": "None of the Above"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 49", "text": "Which tag is used to display Preformatted texts?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "
    "
                            },
                            "option": [{"@type": "Answer", "text": "
    "},{"@type": "Answer", "text": ""},{"@type": "Answer", "text": "
    "},{"@type": "Answer", "text": "
    "}],
                            "eduQuestionType": "Multiple choice"
                        },{
                            "@type": "Question",
                            "name": "Question 50",
                            "text": "Head tag is used for?",
                            "answerCount": 4,
                            "acceptedAnswer": {
                                "@type": "Answer",
                                "text": "All of these"
                            },
                            "option": [{"@type": "Answer", "text": "Writing style"},{"@type": "Answer", "text": "Writing Java Script"},{"@type": "Answer", "text": "Including CSS, JS Files"},{"@type": "Answer", "text": "All of these"}],
                            "eduQuestionType": "Multiple choice"
                        },{
                            "@type": "Question",
                            "name": "Question 51",
                            "text": "Which of the following are the background properties in CSS?
    i) background-color ii) background-image iii) background-repeat iv) background-position v) background",
                            "answerCount": 4,
                            "acceptedAnswer": {
                                "@type": "Answer",
                                "text": "All of the above"
                            },
                            "option": [{"@type": "Answer", "text": "i, ii, iii and iv only"},{"@type": "Answer", "text": "i, ii, iii and v only"},{"@type": "Answer", "text": "i, ii, iv and v only"},{"@type": "Answer", "text": "All of the above"}],
                            "eduQuestionType": "Multiple choice"
                        },{
                            "@type": "Question",
                            "name": "Question 52",
                            "text": "The different ways to associate styles with a HTML document are ……………",
                            "answerCount": 4,
                            "acceptedAnswer": {
                                "@type": "Answer",
                                "text": "All of the above"
                            },
                            "option": [{"@type": "Answer", "text": "Embedded css with 

    Quiznetik

    Web Technology | Set 4

    1. Which tag inserts a line horizontally on your web page?

    Correct : A. <hr>

    2. What should be the first tag in any HTML document?

    Correct : C. <html>

    3. Which tag allows you to add a row in a table?

    Correct : D. <tr> and </tr>

    4. How can you make a bulleted list?

    Correct : C. <ul>

    5. How can you make a numbered list?

    Correct : B. <ol>

    6. What is the correct HTML for making a hyperlink?

    Correct : A. <a href=”http://mcqmate.com”>ICT Trends Quiz</a>

    7. Choose the correct HTML tag to make a text italic

    Correct : D. <i>

    8. Choose the correct HTML tag to make a text bold?

    Correct : A. <b>

    9. What is the correct HTML for adding a background color?

    Correct : B. <body bgcolor=”yellow”>

    10. Choose the correct HTML tag for the smallest size heading?

    Correct : B. <h6>

    11. What is the correct HTML tag for inserting a line break?

    Correct : A. <br>

    12. What does vlink attribute mean?

    Correct : A. visited link

    13. Which tag creates a check box for a form in HTML?

    Correct : B. <input type=”checkbox”>

    14. To create a combo box (drop down box) which tag will you use?

    Correct : A. <select>

    15. Which of the following is not a pair tag?

    Correct : D. <img>

    16. To create HTML document you require a

    Correct : C. Just a notepad can be used

    17. HTML documents are saved in

    Correct : D. None of above

    18. . Marquee is a tag in HTML to

    Correct : C. Display text with scrolling effect

    19. There are ____ different of heading tags in HTML

    Correct : C. 6

    20. Which of the following HTML code is valid?

    Correct : B. <font color=”red”>

    21. Which of the following is an attribute related to font tag?

    Correct : D. All of above

    22. Which of the following is not a valid alignment attribute?

    Correct : C. Top

    23. Which attribute is used with img tag to display the text if image could not load in browser?

    Correct : C. alt

    24. What is the full form of HTML?

    Correct : A. Hyper text markup language

    25. HTML document start and end with which tag pairs?

    Correct : C. <HTML>….</HTML>

    26. Which tag is used to create body text in HTML?

    Correct : D. <BODY>

    27. <TITLE> … </TITLE> tag must be within ________

    Correct : C. Head

    28. Text within <EM> … </EM> tag is displayed as ________

    Correct : B. italic

    29. Text within <STRONG> … </STRONG> tag is displayed as ________

    Correct : A. bold

    30. <UL> … </UL> tag is used to ________

    Correct : C. display the bulleted list

    31. Which tag is used to display the large font size?

    Correct : B. <BIG></BIG>

    32. <SCRIPT> … </SCRIPT> tag can be placed within ________

    Correct : C. Both A and B

    33. <TD> … </TD> tag is used for ________

    Correct : D. None of the above

    34. Which is true to change the text color to red?

    Correct : B. <BODY TEXT=”RED”>

    35. A homepage is __________

    Correct : D. the first page of a website

    36. Which of the following is used to run a HTML document?

    Correct : A. Browser

    37. Which of the following are commonly found on web pages?

    Correct : B. hyperlinks

    38. Which of the following is an attribute of <Table> tag?

    Correct : C. CELLPADDING

    39. Which HTML tag would be used to display power in expression (A+B)2 ?

    Correct : A. <SUP>

    40. What is <tt> tag in HTML?

    Correct : A. It renders fonts as teletype text font style.

    41. Which of the following tags are related to Table in HTML ?

    Correct : B. <table> <tr> <td>

    42. What is the use of Forms in HTML?

    Correct : C. to collect user’s input.

    43. Which tag is used to lists the items with bullets?

    Correct : B. <list>…</list>

    44. Which of the following is correct to align H1 tag to Right Alignment

    Correct : A. <h1 align = “right”> …</h1>

    45. Which of the following is correct to change font face in Web Page

    Correct : C. <font face = “font name”> … </font>

    46. Which of the following is used to create web pages?

    Correct : A. HTML

    47. HTML document is saved using ____ extension.

    Correct : B. .html

    48. Caption Tag in HTML?

    Correct : C. both

    49. CSS is an acronym for

    Correct : A. Cascading Style Sheet

    50. Which tag is used to display Preformatted texts?

    Correct : A. <pre> … </ pre>

    51. Head tag is used for?

    Correct : D. All of these

    52. Which of the following are the background properties in CSS? i) background-color ii) background-image iii) background-repeat iv) background-position v) background

    Correct : D. All of the above

    53. The different ways to associate styles with a HTML document are ……………

    Correct : D. All of the above

    54. The ..................... specifies whether a border should be solid, dashed line, dotted line, double line, groove etc.

    Correct : C. border-style

    55. Which of the following are the advantages of CSS?

    Correct : D. All of the above

    56. A CSS style rule is made up of three parts which are …… i) Selector ii) Property iii) Value iv) Attribute

    Correct : C. i, ii and iii only

    57. Which is not the selector type of CSS?

    Correct : B. Universal selector

    58. CSS comments are inserted inside …………………

    Correct : C. /*..................*/

    59. ...................... is used to import an external style sheet

    Correct : C. #import

    60. The ___________ property specifies the stack order of an element

    Correct : D. z-index

    61. To specify table border in CSS, ____________ property is used

    Correct : D. border

    62. ______________ property specifies an image to use as the background of an element

    Correct : D. background-image

    63. Which HTML attribute is used to define inline styles?

    Correct : C. style

    64. The <link> tag goes inside

    Correct : B. head section

    65. When does JavaScript code appear inline within an HTML file?

    Correct : A. Between the “script” tag

    66. Which is the root element in a HTML document?

    Correct : A. HTML

    67. What is the default value of the type attribute in javascript?

    Correct : A. text/css

    68. What are the objects in Java Script?

    Correct : D. All of the above

    69. JavaScript Code can be called by using

    Correct : D. Function

    70. A hexadecimal literal begins with

    Correct : D. Both b and c

    71. The escape sequence ‘\f’ stands for

    Correct : D. Form feed

    72. The snippet that has to be used to check if “a” is not equal to “null” is

    Correct : D. if(a!==null)

    73. Among the following, which one is a ternary operator?

    Correct : D. ?:

    74. Consider the following statements var text = "testing: 1, 2, 3"; // Sample text var pattern = /\d+/g In order to check if the pattern matches with the string “text”, the statement is

    Correct : B. pattern.test(text)

    75. A function definition expression can be called

    Correct : B. Function literal

    76. JavaScript is a _______________ language

    Correct : D. Object-Based

    77. A conditional expression is also called a

    Correct : B. Immediate if

    78. The “var” and “function” are

    Correct : B. Declaration statements

    79. The method or operator used to identify the array is

    Correct : D. typeof

    80. What will happen if reverse() and join() methods are used simultaneously ?

    Correct : A. Reverses and stores in the same array

    81. The pop() method of the array does which of the following task ?

    Correct : A. decrements the total length by 1

    82. The ‘$’ present in the RegExp object is called a

    Correct : C. metacharacter

    83. The regular expression to match any one character not between the brackets is

    Correct : C. [^...]

    84. The type that specifies what kind of event occured is

    Correct : A. event type

    85. Which is the object on which the event occured or with which the event is associated?

    Correct : B. event target

    86. In general, event handler is nothing but

    Correct : A. function

    87. When will the browser invoke the handler?

    Correct : C. Specified event occurs

    88. Which are the events that have default actions that can be canceled by event handlers?

    Correct : C. Submit and reset events

    89. The events that represents occurrences related to the browser window are

    Correct : A. Window

    90. Which event is fired when a document and all of its external resources are fully loaded and displayed to the user?

    Correct : B. Load

    91. Which is the opposite to the load event in JavaScript?

    Correct : D. unload

    92. When are the mouse events generated?

    Correct : C. Both a and b

    93. When is the mouseover event fired?

    Correct : A. When mouse is moved over a new element

    94. The focus and blur events are also part of

    Correct : C. Window events

    95. Which syntax is used to describe elements in CSS?

    Correct : B. Selectors

    96. The C in CSS stands for

    Correct : D. Cascading

    97. When are the keyboard events fired?

    Correct : A. When user manually calls the button

    98. What PHP stands for?

    Correct : A. Hypertext Preprocessor

    99. Which of the following tags is not a valid way to begin and end a PHP code block?

    Correct : D. <? php ?>

    100. Variables always start with a ........ in PHP

    Correct : C. Dollar-sign