HTML MCQS with Answers - Page 2

51) Which of the following tags is used for the smallest heading in HTML?

  1. <h1>
  2. <h6>
  3. <h5>
  4. <h3>

52) Which HTML attribute prevents search engines from following the links inside the web page?

  1. noindex
  2. nofollow
  3. novalue
  4. noarchive

53) Which HTML tag defines a section or container in a web page?

  1. article tag
  2. div tag
  3. section tag
  4. main tag

54) HTML attribute which specifies that script will run when the media file is paused due to buffering or due to any other reason?

  1. onwaiting attribute
  2. loading attribute
  3. media attribute
  4. onload attribute

55) Which HTML tag define a term in description list?

  1. tr tag
  2. dl tag
  3. dt tag
  4. h1 tag

56) Previous version of HTML was?

  1. HTML 4
  2. HTML5
  3. HTML 1
  4. HTML 3.2

57) HTML attribute which defines the value which is optimum for the gauge?

  1. max attribute
  2. title attribute
  3. optimum attribute
  4. value attribute

58) Which HTML tag is used for emphasized text?

  1. strong tag
  2. b tag
  3. h1 tag
  4. em tag

59) Which HTML tag is used to embed external application?

  1. embed tag
  2. iframe tag
  3. link tag
  4. script tag

60) HTML attribute which specifies that script will run when the mouse wheel rolls up or down?

  1. onscroll attribute
  2. wheel attribute
  3. onwheel attribute
  4. scroll attribute

61) HTML attribute which specifies that details element should not be hidden?

  1. hidden attribute
  2. style attribute
  3. display attribute
  4. open attribute

62) Which HTML tag is used for description list?

  1. del tag
  2. dl tag
  3. dt tag
  4. p tag

63) HTML attribute which displays the short hint or text for the user to tell what to enter as input?

  1. value attribute
  2. title attribute
  3. name attribute
  4. placeholder attribute

64) HTML page is rendered and displayed by?

  1. Web Designer
  2. Website
  3. Web Browser
  4. Web App

65) How to create a checkbox element in HTML?

  1. <input type = "button">
  2. <input type = "submit">
  3. <input type = "checkbox">
  4. <input type = "check">

66) What is the right sequence of HTML tags, top to bottom?

  1. html, head, title, body
  2. html, body, title, head
  3. head, title, html, body
  4. body, head, title, html

67) HTML attribute which specifies that script will run when the content of element is being cut?

  1. onmove attribute
  2. oncut attribute
  3. onpaste attribute
  4. onchange attribute

68) The root tag of the HTML document is

  1. <head>
  2. <body>
  3. <meta>
  4. <html>

69) HTML Tag used to define underlined text is?

  1. HTML b tag
  2. HTML strong tag
  3. HTML pre tag
  4. HTML u tag

70) HTML attribute which tells about the type of files that the website server accepts is?

  1. src attribute
  2. allow attribute
  3. href attribute
  4. accept attribute

71) HTML Tag used to define unordered list is?

  1. HTML select tag
  2. HTML ul tag
  3. HTML li tag
  4. HTML ol tag

72) HTML Tag used to define variable?

  1. HTML object tag
  2. HTML var tag
  3. HTML script tag
  4. HTML wbr tag

73) HTML attribute which defines the image that will be displayed when the video is not played yet or it's downloading?

  1. src attribute
  2. alt attribute
  3. video attribute
  4. poster attribute

74) HTML Tag used to define video content?

  1. HTML media tag
  2. HTML embed tag
  3. HTML video tag
  4. HTML object tag

75) HTML Tag used to define possible line break?

  1. HTML br tag
  2. HTML li tag
  3. HTML wbr tag
  4. HTML hr tag

76) HTML attribute which specifies the character encoding, is?

  1. alt attribute
  2. accept-charset attribute
  3. charset attribute
  4. accept attribute

77) HTML attribute which defines a short key to activate or focus an element is?

  1. focus attribute
  2. accesskey attribute
  3. title attribute
  4. onclick attribute

78) The charset attribute specifies

  1. character for HTML document
  2. a name for the metadata
  3. character encoding for the HTML document
  4. character decoding for the HTML document

79) In HTML5, which of the following tag is used to initialize the document type?

  1. <Doctype HTML>
  2. <\Doctype html>
  3. <Doctype>
  4. <!DOCTYPE html>

80) HTML attribute which specifies that script will run when the element is double clicked?

  1. ondblclick attribute
  2. onclick attribute
  3. ondouble attribute
  4. ondoubleclick attribute

81) HTML Tag which defines script?

  1. HTML link tag
  2. HTML style tag
  3. HTML script tag
  4. HTML meta tag

82) HTML attribute which specifies that script will run when the element is dragged?

  1. onmove attribute
  2. onfocus attribute
  3. ondrag attribute
  4. onshift attribute

83) HTML Tag used to define row of table is?

  1. HTML tr tag
  2. HTML row tag
  3. HTML th tag
  4. HTML rowspan tag

84) HTML attribute which defines expression or pattern for input tag and is checked against it?

  1. value attribute
  2. pattern attribute
  3. id attribute
  4. name attribute

85) HTML attribute which defines how to wrap the text when form is submitted in textarea tag?

  1. text attribute
  2. width attribute
  3. content attribute
  4. wrap attribute

86) HTML attribute which specifies that script will run when the element is dragged till the end?

  1. onmove attribute
  2. onend attribute
  3. onshift attribute
  4. ondragend attribute

87) Which HTML Tag is used to define images?

  1. image tag
  2. embed tag
  3. img tag
  4. iframe tag

88) HTML attribute which defines the allowed number of intervals for an input tag?

  1. type attribute
  2. number attribute
  3. value attribute
  4. step attribute

89) HTML was Created by?

  1. Steve Jobs
  2. Tim Berners Lee
  3. Tim Cook
  4. Bill Gates

90) HTML attribute which specifies that script will run when the scroll bar of element is scrolled?

  1. onscroll attribute
  2. ondrag attribute
  3. scroll attribute
  4. overflow attribute

91) HTML attribute which specifies that script will run when the user writes something in the search field?

  1. onenter attribute
  2. onsearch attribute
  3. oninput attribute
  4. search attribute

92) HTML attribute which specifies that script will run when the cue is changed?

  1. onchange attribute
  2. oncue attribute
  3. oncuechange attribute
  4. onrepeat attribute

93) HTML h1 tag is used for?

  1. Main Heading of Web Page
  2. Header section of website
  3. Caption of page
  4. Footer Heading

94) Which HTML tag overrides the current text direction?

  1. h3 tag
  2. ol tag
  3. b tag
  4. <bdo>

95) Which HTML tag defines a section that is quoted from another source?

  1. bold tag
  2. h1 tag
  3. <blockquote>
  4. section tag

96) HTML attribute which specifies that script will run when the user paste something to the element?

  1. oncut attribute
  2. oncopy attribute
  3. oninput attribute
  4. onpaste attribute

97) HTML attribute which specifies that script will run when the media pauses due to any reason?

  1. onstop attribute
  2. onpause attribute
  3. onplay attribute
  4. onbuffer attribute

98) HTML attribute which specifies that script will run when the media starts playing?

  1. onplay attribute
  2. onpause attribute
  3. onstart attribute
  4. onloop attribute

99) HTML attribute which specifies that script will run as soon as the file has started loading?

  1. onload attribute
  2. onstart attribute
  3. onloadstart attribute
  4. start attribute

100) HTML attribute which specifies that script will run when the mouse button is pressed?

  1. onclick attribute
  2. onkeypress attribute
  3. onmouse attribute
  4. onmousedown attribute
1 2 3 4 5 6 7 8