HTML 5 MCQS

All Questions for: HTML 5 MCQS

Question 151: Which tag can set the background color for your page ? 1. <body> 2. <font> 3. <head> 4. <title>

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

Explanation: No explanation is given for this question

Question 152: _____________ and elements in a document may be dragged using the application/x-moz-node type.

  • A Dragging Nodes
  • B Dragging HTML and XML
  • C Dragging Text
  • D None of the mentioned

Explanation: No explanation is given for this question

Question 153: ______________ should include data of two types; the first should be the URL using the type text/uri-list, and the second is the URL using the text/plain type.

  • A Dragging Links
  • B Dragging Text
  • C Dragging Files
  • D Dragging HTML and XML

Explanation: No explanation is given for this question

Question 154: To created a bulleted list, use 1. <ol> 2. <ul> 3. <il>

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

Explanation: No explanation is given for this question

Question 155: To show deleted text, which element is used?

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

Explanation: No explanation is given for this question

Question 156: Which of the following defines the result of a calculation?

  • A <output>
  • B None of the above
  • C <datalist>
  • D <keygen>

Explanation: No explanation is given for this question

Question 157: Which of the following is not the property of the 'cords' object?

  • A AltitudeAccuracy
  • B enableHighAccuracy
  • C Accuracy
  • D Altitude

Explanation: No explanation is given for this question

Question 158: Which of the following property is used to determine which drag operation was desired?

  • A dropEffect
  • B dragend
  • C captureData
  • D getData

Explanation: During the drop event, you should retrieve that data that was dropped from the event and insert it at the drop location. One can use the dropEffect property to determine which drag operation was desired.

Question 159: Which event is fired as the mouse is moving over an element when a drag is occurring?

  • A dragenter
  • B dragleave
  • C dragstart
  • D dragover

Explanation: This event is fired as the mouse is moving over an element when a drag is occurring. Much of the time, the operation that occurs during a listener will be the same as the dragenter event.

Question 160: What is the correct HTML for creating a hyperlink ? 1. <a>http://www.examveda.com</a> 2. <a name=

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

Explanation: uses the

Question 161: What kind of list will <ol> tags create ?

  • A Bulleted list
  • B None of the above
  • C Unordered list
  • D Numbered list

Explanation: No explanation is given for this question

Question 162: _____________ in textboxes and selections on web pages is done automatically, so you do not need to handle dragging yourself.

  • A Dragging Text
  • B Dragging Files
  • C Dragging HTML and XML
  • D Dragging Links

Explanation: Although the process is automatic, it is recommended that you always add data of the text/plain type as a fallback for applications or drop targets that do not support other types, unless there is no logical text alternative. Always add the plain text type last as it is the least specific.

Question 163: Success callback function evoke only when . . . . . . . .

  • A only by mobile browser
  • B always evoke
  • C user accepts to share location information
  • D gps is accessible

Explanation: No explanation is given for this question

Question 164: Which of the following is not used with text-decoration property?

  • A line-through
  • B inline
  • C underline
  • D overline

Explanation: No explanation is given for this question

Question 165: The tag which allows you to nest other HTML tags within the description 1. <CAPTION> 2. <TD> 3. <TR>

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

Explanation: No explanation is given for this question

Question 166: Choose the correct HTML tag for the largest heading. 1. <h1> 2. <h2> 3. <h4> 4. <h6>

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

Explanation: No explanation is given for this question

Question 167: Which of the following is not a valid alignment attribute?

  • A Top
  • B Right
  • C All of above
  • D Left

Explanation: No explanation is given for this question

Question 168: maximumAge returns time in . . . . . . . .

  • A milliseconds
  • B seconds
  • C nano-seconds
  • D hour

Explanation: No explanation is given for this question

Question 169: All attribute declarations begin with the keyword ____________ followed by the element name, attribute name, attribute type, and default data information.

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

Explanation: The ATTLIST declarations identify which element types may have attributes, what type of attributes they may be, and what the default value of the attributes are.

Question 170: Which tag will add rows to your tables ? 1. <tr> and </tr> 2. <th> and </th> 3. <td> and </td>

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

Explanation: is used to add rows to your tables in HTML. - This is the correct answer. These tags are used to define a table row. - This is incorrect. These tags are used to define header cells within a row. - This is incorrect. These tags are used to define data cells within a row. - This is incorrect because Option 1 correctly lists the tags for adding rows to a table.

Question 171: The _________ event is fired on the element where the drop occurred at the end of the drag operation.

  • A drag
  • B dragenter
  • C dragstart
  • D drop

Explanation: The drop event is fired on the element where the drop occurred at the end of the drag operation. A listener would be responsible for retrieving the data being dragged and inserting it at the drop location.

Question 172: How many standard color names does HTML supports?

  • A 140
  • B 90
  • C 120
  • D 130

Explanation: No explanation is given for this question

Question 173: Which element is used for short quote?

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

Explanation: No explanation is given for this question

Question 174: Which property is like the GPS in car?

  • A showPosition()
  • B watchPosition()
  • C getCurrentPosition()
  • D clearWatch()

Explanation: No explanation is given for this question

Question 175: Which one is the correct e-mail link ? 1. <a href=

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

Explanation: No explanation is given for this question

Question 176: Which of the following defines a part of text that might be formatted in a different direction from other text?

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

Explanation: No explanation is given for this question

Question 177: The tag for title text for rows and columns is 1. <TD> 2. <TR> 3. <TH>

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

Explanation: No explanation is given for this question

Question 178: Which is not the case of invoking for error callback function?

  • A when we are using WIFI
  • B location information is unavailable
  • C request timed out
  • D user denies to share the information of a location

Explanation: No explanation is given for this question

Question 179: What is the correct HTML code for inserting an image ? 1. <img>image.gif</img> 2. <img href=

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

Explanation: uses the tag with the attribute to specify the image source. - This is incorrect. The tag is self-closing and does not use a closing tag. - This is incorrect. The attribute is used for links, not images. - This is the correct answer. The attribute specifies the path to the image. - This is incorrect because Option 3 correctly lists the HTML code for inserting an image.

Question 180: Which of the following elements in HTML5 defines video or movie content?

  • A <video>
  • B <movie>
  • C <audio>
  • D <media>

Explanation: No explanation is given for this question

Question 181: Which property is similar to C/C++ can be applied to comments?

  • A switch case
  • B for loop
  • C ifelse
  • D while loop

Explanation: No explanation is given for this question

Question 182: Which element defines a title of the Work?

  • A <abbr>
  • B <address>
  • C <cite>
  • D <blockquote>

Explanation: No explanation is given for this question

Question 183: Which works similar to <b> element?

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

Explanation: No explanation is given for this question

Question 184: A listener for the dragenter and dragover events are used to indicate valid drop targets, that is, places where dragged items may be dropped.

  • A False
  • B True

Explanation: No explanation is given for this question

Question 185: Choose the correct HTML tag to make a text bold 1. <bd> 2. <bold> 3. <bl> 4. <b>

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

Explanation: No explanation is given for this question

Question 186: Which element is restricted to inline content?

  • A <dd>
  • B <dt>
  • C <ul>
  • D <dl>

Explanation: The correct answer to the question is: <dt>

Question 187: Which one of the following is not the value of the target attribute?

  • A _self
  • B _empty
  • C _top
  • D _blank

Explanation: The correct answer to the question is: _empty

Question 188: Which of the following is not true regarding to counter?

  • A counter(name,style)
  • B counter(name)
  • C counter(string)
  • D counter(name,string,style)

Explanation: The correct answer to the question is: counter(string)

Question 189: Metadata does not define . . . . . . . .

  • A color
  • B links
  • C scripts
  • D character set

Explanation: The correct answer to the question is: color

Question 190: What will add line break in the body of mail?

  • A %0h%0A
  • B %0D%0A
  • C 20%
  • D 10%

Explanation: The correct answer to the question is: %0D%0A

Question 191: Which of the following is not the value for rules attribute?

  • A groups
  • B all
  • C vsides
  • D rows

Explanation: The correct answer to the question is: vsides

Question 192: For adding caption to the table we use . . . . . . . .

  • A <thead>
  • B <tr>
  • C <caption>
  • D <th>

Explanation: The correct answer to the question is: <caption>

Question 193: border-spacing is given in . . . . . . . .

  • A mm
  • B inch
  • C cm
  • D pixels

Explanation: The correct answer to the question is: pixels

Question 194: In HTML5 which element defines thematic change in the content?

  • A <h1>
  • B <hr>
  • C <p>
  • D <head>

Explanation: The correct answer to the question is: <hr>

Question 195: Which element contains definition?

  • A <dt>
  • B <dl>
  • C <ul>
  • D <dd>

Explanation: The correct answer to the question is: <dd>

Question 196: Each cell of the table can be represented by using . . . . . . . .

  • A <td>
  • B <tr>
  • C <thead>
  • D <th>

Explanation: The correct answer to the question is: <td>

Question 197: What is the color of an unvisited link?

  • A red
  • B green
  • C blue
  • D purple

Explanation: The correct answer to the question is: blue

Question 198: Borders can't be applied on . . . . . . . .

  • A <th>
  • B <td>
  • C <tr>
  • D <thead>

Explanation: The correct answer to the question is: <tr>

Question 199: For displaying a list horizontally, we can use . . . . . . . .

  • A display:inline
  • B type
  • C <dd>
  • D <dt>

Explanation: The correct answer to the question is: display:inline

Question 200: Which character is used to differentiating between choices to list items?

  • A '>'
  • B '$'
  • C '|'
  • D '#'

Explanation: The correct answer to the question is: '|'