MCQOPTIONS
Saved Bookmarks
This section includes 571 Mcqs, each offering curated multiple-choice questions to sharpen your Html knowledge and support exam preparation. Choose a topic below to get started.
| 101. |
Non breaking space is denoted by |
| A. | |
| B. | &nbs |
| C. | #nbs |
| D. | &nonbreak |
| Answer» B. &nbs | |
| 102. |
What is first version of HTML? |
| A. | HTML 0.1 |
| B. | HTML5 |
| C. | HTML1.0 |
| D. | None |
| Answer» D. None | |
| 103. |
HTML block-level elements always starts on |
| A. | New line |
| B. | Same line |
| C. | New block |
| D. | None |
| Answer» B. Same line | |
| 104. |
Which of following is a new input type in HTML5? |
| A. | Button |
| B. | Text |
| C. | Address |
| D. | Date |
| Answer» E. | |
| 105. |
For controlling page's dimensions and scaling which element is used in tag? |
| A. | <scaling> |
| B. | <scale> |
| C. | <zoom> |
| D. | <viewport> |
| Answer» E. | |
| 106. |
tag defines a |
| A. | Paragraph |
| B. | Line |
| C. | Link |
| D. | Table |
| Answer» B. Line | |
| 107. |
A small piece of program that can add interactivity to your website is called as |
| A. | Meta |
| B. | Script |
| C. | Marquee |
| D. | All of above |
| Answer» C. Marquee | |
| 108. |
Web application that can store data within user's browser is called as? |
| A. | Storage |
| B. | Server storage |
| C. | Local Storage |
| D. | Media Storage |
| Answer» D. Media Storage | |
| 109. |
For checking a regular expression in input fields of HTML forms which attribute is used? |
| A. | <checker> |
| B. | <valid input> |
| C. | <pattern> |
| D. | None of them |
| Answer» D. None of them | |
| 110. |
Tags that are used to tell meaning of enclosed text (e.g. ) these type of tags are called |
| A. | Similar tags |
| B. | Defined tags |
| C. | Physical tags |
| D. | Logical tags |
| Answer» E. | |
| 111. |
External style sheets are referred in web document through a |
| A. | Class |
| B. | Link/Url or path |
| C. | Page |
| D. | None |
| Answer» C. Page | |
| 112. |
Page Designed in HTML is called as ________. |
| A. | Front Page |
| B. | Yellow Page |
| C. | Server Page |
| D. | Web Page |
| Answer» E. | |
| 113. |
Which from following is not a type of screen frames in HTML |
| A. | iframe |
| B. | noframe |
| C. | frameset |
| D. | uframe |
| Answer» E. | |
| 114. |
In HTML web sockets are not available whereas in HTML5 |
| A. | Full duplex communication channel is present |
| B. | Still it is not available |
| C. | No networking capability available |
| D. | All of above |
| Answer» B. Still it is not available | |
| 115. |
When connection of a web page is opened to a server which event is invoked? |
| A. | On-error |
| B. | On-message |
| C. | On-open |
| D. | On-running |
| Answer» D. On-running | |
| 116. |
Which attribute is used to add video controls like play, pause, and volume in Video |
| A. | <autoplay> |
| B. | <play> |
| C. | <video controls> |
| D. | <controls> |
| Answer» E. | |
| 117. |
For defining a client-side script e.g. JavaScript which tag is used in HTML documents? |
| A. | <iframe> |
| B. | <script> |
| C. | <java> |
| D. | <javascript> |
| Answer» C. <java> | |
| 118. |
There are how many ways to create multicolumn layouts in a web document? |
| A. | 1 |
| B. | 2 |
| C. | 3 |
| D. | 4 |
| Answer» E. | |
| 119. |
There are how many types of tag for HTML headings |
| A. | 3 |
| B. | 4 |
| C. | 5 |
| D. | 6 |
| Answer» E. | |
| 120. |
Default character set in HTML 5 is |
| A. | UTF-1 |
| B. | UTF-4 |
| C. | UTF-8 |
| D. | UTF-12 |
| Answer» D. UTF-12 | |
| 121. |
In HTML, a color can be specified using a hexadecimal value in form of |
| A. | #000000 |
| B. | #0 - #255 |
| C. | #RRGGBB |
| D. | None |
| Answer» B. #0 - #255 | |
| 122. |
For displaying contact information in web document or in article, we can use? |
| A. | <address> tag |
| B. | <article> tag |
| C. | <contact info> tag |
| D. | None |
| Answer» B. <article> tag | |
| 123. |
Autofocus attribute is an example of |
| A. | HTML |
| B. | PHP |
| C. | J-Query |
| D. | HTML5 |
| Answer» E. | |
| 124. |
Which attribute is used to declare language in HTML document? |
| A. | <!DOCTYPE html> |
| B. | <html = " "> |
| C. | < a href = " "> |
| D. | <html lang =" "> |
| Answer» E. | |
| 125. |
HTML is a set of |
| A. | Markup tags |
| B. | Markup links |
| C. | Markup elements |
| D. | All of above |
| Answer» B. Markup links | |
| 126. |
Which of the following CSS property defines the different properties of all four sides of an element’s border in a single declaration? |
| A. | border |
| B. | padding |
| C. | border-collapse |
| D. | border-width |
| Answer» E. | |
| 127. |
Select the CSS property that sets the width of an element’s bottom border? |
| A. | border-width |
| B. | border-bottom |
| C. | border-width-down |
| D. | border-bottom-width |
| Answer» E. | |
| 128. |
Which of the following CSS property border-color property sets the color of an element’s four borders? |
| A. | border-background |
| B. | border-background-color |
| C. | border-color |
| D. | all of the mentioned |
| Answer» D. all of the mentioned | |
| 129. |
Next version of XHTML 1.0 is |
| A. | HTML 1.1 |
| B. | HTML 4.01 |
| C. | HTML 3.2 |
| D. | HTML5 |
| Answer» E. | |
| 130. |
Title element defines title of document at |
| A. | Header |
| B. | Web browser |
| C. | Middle of Document |
| D. | Footer |
| Answer» C. Middle of Document | |
| 131. |
Action attribute in HTML forms specifies that |
| A. | Which HTTP method is used |
| B. | Which action is going on |
| C. | Where to submit form |
| D. | The auto completion of form |
| Answer» D. The auto completion of form | |
| 132. |
Which of following is not semantic element? |
| A. | <table> |
| B. | <article> |
| C. | <div> |
| D. | <form> |
| Answer» D. <form> | |
| 133. |
Tags used to tell browser that how to display text enclosed (e.g. , ) are called as |
| A. | Physical tags |
| B. | Logical tags |
| C. | User defined tags |
| D. | None |
| Answer» B. Logical tags | |
| 134. |
When form data contains sensitive or personal information than which method is more preferable? |
| A. | Get method |
| B. | Post method |
| C. | Host method |
| D. | Put method |
| Answer» C. Host method | |
| 135. |
Which language is used to create web documents? |
| A. | PHP |
| B. | JavaScript |
| C. | HTML |
| D. | J-Query |
| Answer» D. J-Query | |
| 136. |
For defining a submit button which tag is used? |
| A. | <button> |
| B. | <submit button> |
| C. | <submit> |
| D. | <action submit> |
| Answer» D. <action submit> | |
| 137. |
Which tag is used for defining an alternate content for users that do not support client-side scripts? |
| A. | <script> |
| B. | <noscript> |
| C. | <iframe> |
| D. | <nonscript> |
| Answer» C. <iframe> | |
| 138. |
What is short form of Secure HyperText Transfer Protocol? |
| A. | HTTP |
| B. | HTTPS |
| C. | SHTTP |
| D. | Secure HTTP |
| Answer» C. SHTTP | |
| 139. |
Text inside a element tag is displayed |
| A. | In table |
| B. | In one line |
| C. | In fixed width font |
| D. | In half paragraph |
| Answer» D. In half paragraph | |
| 140. |
For uniquely identifying an elements name which attribute is used? |
| A. | id |
| B. | class |
| C. | header |
| D. | none |
| Answer» B. class | |
| 141. |
If you want to merge two or more rows in a table which attribute you can use? |
| A. | Rowmerge |
| B. | Rowspan |
| C. | Colmerge |
| D. | Colspan |
| Answer» C. Colmerge | |
| 142. |
Which one from following is a block level element in HTML? |
| A. | <span> |
| B. | <div> |
| C. | <class> |
| D. | Both A and B |
| Answer» C. <class> | |
| 143. |
An ordered list in HTML document starts with a |
| A. | <ul> tag |
| B. | <ol> tag |
| C. | <li> tag |
| D. | None |
| Answer» C. <li> tag | |
| 144. |
For playing soundtrack in background which tag is used? |
| A. | <backgroundsound> |
| B. | <bgsound> |
| C. | <sound> |
| D. | <bgtrack> |
| Answer» C. <sound> | |
| 145. |
XHTML is dynamic web page whereas HTML is |
| A. | Also a dynamic web page |
| B. | A static web page |
| C. | Programming language |
| D. | User defined language |
| Answer» C. Programming language | |
| 146. |
When we want to add many spaces in content than what element we can use |
| A. | Non breaking space |
| B. | Applet |
| C. | Marquee |
| D. | None |
| Answer» B. Applet | |
| 147. |
(document.getElementById("demo").innerHTML = "Hello!"; ) Function is an example of? |
| A. | PHP |
| B. | JavaScript |
| C. | HTML5 |
| D. | None |
| Answer» C. HTML5 | |
| 148. |
Dir, lang and xml:lang attributes are example of |
| A. | HTML forms element |
| B. | Internationalization attributes |
| C. | HTML formatting attributes |
| D. | None of them |
| Answer» C. HTML formatting attributes | |
| 149. |
HTML tags are? |
| A. | Case sensitive |
| B. | Not case sensitive |
| C. | lowercase stricter |
| D. | Uppercase stricter |
| Answer» C. lowercase stricter | |
| 150. |
In HTML Geolocation getCurrentPosition() method is used to |
| A. | Return user's position |
| B. | Get map of world |
| C. | Return only latitude |
| D. | Return only longitude |
| Answer» B. Get map of world | |