HTML 5 MCQS

All Questions for: HTML 5 MCQS

Question 101: Which of the following is underline tag ? 1. <PRE> 2. <UL> 3. <U> 4. <HR>

  • A Option 2
  • B Option 1
  • C Option 4
  • D Option 3

Explanation: No explanation is given for this question

Question 102: To start a list at the count of 3, use 1. <ol begin="3"> 2. <ol list="3"> 3. <ol start="3"> 4. <ol num="3">

  • A Option 3
  • B Option 4
  • C OPtion 2
  • D Option 1

Explanation: No explanation is given for this question

Question 103: Which of the following property does not has always a return?

  • A coords.longitude
  • B coords.latitude
  • C coords.accuracy
  • D coords.altitude

Explanation: No explanation is given for this question

Question 104: The special formatting tag is 1. <P> 2. <TT> 3. <PRE>

  • A None of the above
  • B Option 3
  • C Option 1
  • D Option 2

Explanation: No explanation is given for this question

Question 105: The <BASE> tag is designed to appear only between 1. <BODY> 2. <HEAD> 3. <TITLE> 4. <PRE>

  • A Option 3
  • B Option 4
  • C Option 2
  • D Option 1

Explanation: No explanation is given for this question

Question 106: The tag which is used to establish the absolute base for relative URLs used in the documents hypertext links. 1. <BODY> 2. <TITLE> 3. <BASE> 4. <BR>

  • A Option 4
  • B Option 3
  • C Option 2
  • D Option 1

Explanation: No explanation is given for this question

Question 107: The __________ begins with a series of parameter entity definitions.

  • A XML
  • B None of the mentioned
  • C SGML
  • D DTD

Explanation: The HTML DTD begins with a series of parameter entity definitions. A parameter entity definition defines a kind of macro that may be referenced and expanded elsewhere in the DTD. These macros may not appear in HTML documents, only in the DTD. Other types of macros, called character references, may be used in the text of an HTML document or within attribute values.

Question 108: Which of the following defines graphic drawing using JavaScript?

  • A <class>
  • B <draw>
  • C <canvas>
  • D <graphics>

Explanation: No explanation is given for this question

Question 109: What is the work of <address> element?

  • A contains home address
  • B contains url
  • C contains IP address
  • D contains contact details for author

Explanation: No explanation is given for this question

Question 110: A/An _________ is essentially a macro that allows a short name to be associated with replacement text.

  • A None of the mentioned
  • B Comment
  • C Attribute
  • D Entity

Explanation: Reserved characters in HTML must be replaced with character entities. Characters, not present on your keyboard, can also be replaced by entities.

Question 111: Which element is used for abbreviation or acronym?

  • A <blockquote>
  • B <q>
  • C <abbr>
  • D <em>

Explanation: No explanation is given for this question

Question 112: What timestamp property denotes?

  • A time at which WIFI is used
  • B current time
  • C the time at which data of the location is retrieved
  • D the time at which callback function is evoked

Explanation: No explanation is given for this question

Question 113: Which method is used to get user's position?

  • A getDirection
  • B post()
  • C getDirectPosition()
  • D getCurrentPosition()

Explanation: No explanation is given for this question

Question 114: Calling the ______________ method during both a dragenter and dragover event will indicate that a drop is allowed at that location.

  • A preventDefault
  • B drag
  • C drop
  • D dataTransfer

Explanation: Calling the preventDefault method during both a dragenter and dragover event will indicate that a drop is allowed at that location. However, you will commonly wish to call the preventDefault method only in certain situations, for example, only if a link is being dragged.

Question 115: Which tag adds a paragraph break after the text ? 1. <BR> 2. <P> 3. <PARAGRAPH> 4. <HR>

  • A Option 1
  • B Option 4
  • C Option 3
  • D Option 2

Explanation: No explanation is given for this question

Question 116: A model group contains the names of the elements that a tag may enclose.

  • A True
  • B False

Explanation: Most HTML and XHTML elements enclose content. If a content model is declared, it is enclosed within parentheses and known as a model group.

Question 117: To creat a list using lowercase letters, use 1. <ol "a"> 2. <ol="a"> 3. <ol letter="a"> 4. <ol type="a">

  • A Option 3
  • B Option 4
  • C Option 2
  • D Option 1

Explanation: No explanation is given for this question

Question 118: The main container for <TR>, <TD> and <TH> is. 1. <DATA> 2. <GROUP> 3. <TABLE>

  • A Option 1
  • B None of the above
  • C Option 2
  • D Option 3

Explanation: No explanation is given for this question

Question 119: Choose the correct HTML tag to left-align the content inside a table cell 1. <td leftalign> 2. <td align=

  • A Option 4
  • B Option 2
  • C Option 1
  • D Option 3

Explanation: To left-align the content inside a table cell in HTML, you should use the tag with the align attribute. Here's why the other options are incorrect:1. : This is not a valid HTML attribute. 3. : The valign attribute is used for vertical alignment, not horizontal alignment. 4.

Question 120: What is the default value of timeout?

  • A 1000000
  • B 100
  • C infinity

Explanation: No explanation is given for this question

Question 121: Which parameter gives an accuracy of longitude and latitude?

  • A enableHighAccuracy
  • B AltitudeAccuracy
  • C Accuracy
  • D Extra accuracy

Explanation: No explanation is given for this question

Question 122: The ________ declaration specifies which characters and delimiters may appear in the application.

  • A XML
  • B None of the mentioned
  • C SGML
  • D DTD

Explanation: SGML (Standard Generalized Markup Language) is a standard for how to specify a document markup language or tag set. Such a specification is itself a document type definition (DTD).

Question 123: Which of the following technique is not for the mobile browser to identify the location of a user?

  • A WIFI based position
  • B GPS
  • C IP based position
  • D A-GPS

Explanation: No explanation is given for this question

Question 124: The <small> and <big> tags are special in what way ?

  • A They work on anything
  • B None of the above
  • C They can be repeated
  • D They are for images only

Explanation: No explanation is given for this question

Question 125: <P> is called

  • A Head tag
  • B None of the above
  • C Paragraph tag
  • D Container tag

Explanation: No explanation is given for this question

Question 126: The first tag inside <TABLE> tag is 1. <HEAD> 2. <CAPTION> 3. <TH> 4. <TD>

  • A Option 3
  • B Option 1
  • C Option 2
  • D Option 4

Explanation: No explanation is given for this question

Question 127: Which of the following defines a caption for a figure element?

  • A <caption>
  • B <figcaption>
  • C <figure>
  • D <dialog>

Explanation: No explanation is given for this question

Question 128: What should be set with text-align property so that every line has equal width like in magazines and newspapers?

  • A text-align: top
  • B text-align: none
  • C text-align: justify
  • D text-align: bottom

Explanation: No explanation is given for this question

Question 129: Which of the following defines some content aside from the content it is placed in (like a sidebar)?

  • A <header>
  • B <nav>
  • C <aside>
  • D <sidebar>

Explanation: No explanation is given for this question

Question 130: What does getCurrentPosition() returns?

  • A direction
  • B coordinates
  • C latitude
  • D longitude

Explanation: No explanation is given for this question

Question 131: Which of the following property is common in all drag events?

  • A drag data
  • B dragenter
  • C drag effects
  • D dataTransfer

Explanation: The dataTransfer property of all drag events holds data about the drag and drop operation.

Question 132: How can you make a list that list the items with numbers ? 1. <ul> 2. <list> 3. <ol>

  • A None of the above
  • B Option 1
  • C Option 2
  • D Option 3

Explanation: No explanation is given for this question

Question 133: Which works similar to <i> element?

  • A <strong>
  • B <b>
  • C <em>
  • D <blockquote>

Explanation: No explanation is given for this question

Question 134: HTML tags are recognized by 1. <! 2. <= => 3. < >

  • A Option 2
  • B Option 1
  • C Option 3
  • D None of the above

Explanation: No explanation is given for this question

Question 135: The ___________ keyword begins the declaration of attributes that an element may take. It is followed by the name of the element in question, a list of attribute definitions, and a closing.

  • A DOCTYPE
  • B DTD
  • C ATTLIST
  • D None of the mentioned

Explanation: In HTML 4.01, the !DOCTYPE declaration refers to a DTD, because HTML 4.01 was based on SGML. The DTD specifies the rules for the markup language, so that the browsers render the content correctly.

Question 136: What is the correct HTML tag for inserting a linebreak ? 1. <break> 2. <lb> 3. <pre> 4. <br>

  • A Option 4
  • B Option 3
  • C Option 1
  • D Option 2

Explanation: No explanation is given for this question

Question 137: Which of the following defines a command/menu item that the user can invoke from a popup menu?

  • A <menu>
  • B <nav>
  • C <class>
  • D <menuitem>

Explanation: No explanation is given for this question

Question 138: Which of the following defines additional details that the user can view or hide?

  • A <aside>
  • B <figure>
  • C <details>
  • D <article>

Explanation: No explanation is given for this question

Question 139: Which of the following tag defines the progress of a task?

  • A <progress>
  • B <meter>
  • C <gauge>
  • D <wbr>

Explanation: No explanation is given for this question

Question 140: The tag which allows some Web server search engines to search your Web page. 1. <SEARCH> 2. <ISINDEX> 3. <HEAD> 4. <LINK>

  • A Option 4
  • B Option 1
  • C Option 2
  • D Option 3

Explanation: No explanation is given for this question

Question 141: Which attribute you

  • A merge=row2
  • B rowspan=2
  • C colspan=2
  • D merge=colspan2

Explanation: No explanation is given for this question

Question 142: Which tag will you add to specify a font for your whole page ? 1. <defaultfont> 2. <targetfont> 3. <basefont> 4. <font>

  • A Option 3
  • B Option 2
  • C Option 4
  • D Option 1

Explanation: No explanation is given for this question

Question 143: The ______________ parameter identifies a character encoding, which is a method of converting a sequence of bytes into a sequence of characters.

  • A class
  • B element
  • C none of the mentioned
  • D charset

Explanation: To display an HTML page correctly, a web browser must know the character set (character encoding) to use.

Question 144: Which element is used to show inserted element?

  • A <ins>
  • B <strong>
  • C <em>
  • D <del>

Explanation: No explanation is given for this question

Question 145: Which of the following defines a visible heading for a details element?

  • A <summary>
  • B <main>
  • C <brief>
  • D <mark>

Explanation: No explanation is given for this question

Question 146: The tag used for creating hypertext and hypermedia links is. 1. <HR> 2. <BR> 3. <PRE> 4. <A>

  • A Option 1
  • B Option 3
  • C Option 2
  • D Option 4

Explanation: No explanation is given for this question

Question 147: Which HTML Tag will use to scroll a text in web page?

  • A marquee
  • B scroll
  • C round
  • D go

Explanation: No explanation is given for this question

Question 148: How <bdo> element works?

  • A only override direction of rtl text
  • B only changes the direction of ltr text
  • C override text direction
  • D stops writing in the current text direction

Explanation: No explanation is given for this question

Question 149: The __________ defines the syntax of markup constructs and include additional definitions such as character entity references.

  • A Elements
  • B Attributes
  • C DTD
  • D SGML

Explanation: The DTD defines the syntax of markup constructs. The DTD may include additional definitions such as character entity references.

Question 150: What does showPosition() returns?

  • A both latitude and longitude
  • B only longitude
  • C direction
  • D only latitude

Explanation: No explanation is given for this question