Explore topic-wise MCQs in Testing Subject.

This section includes 657 Mcqs, each offering curated multiple-choice questions to sharpen your Testing Subject knowledge and support exam preparation. Choose a topic below to get started.

1.

Non breaking space is denoted by

A.  
B. &nbs
C. #nbs
D. &nonbreak
Answer» B. &nbs
2.

What is first version of HTML?

A. HTML 0.1
B. HTML5
C. HTML1.0
D. None
Answer» D. None
3.

HTML block-level elements always starts on

A. New line
B. Same line
C. New block
D. None
Answer» B. Same line
4.

Which of following is a new input type in HTML5?

A. Button
B. Text
C. Address
D. Date
Answer» E.
5.

For controlling page's dimensions and scaling which element is used in tag?

A. <scaling>
B. <scale>
C. <zoom>
D. <viewport>
Answer» E.
6.

tag defines a

A. Paragraph
B. Line
C. Link
D. Table
Answer» B. Line
7.

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
8.

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
9.

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
10.

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.
11.

External style sheets are referred in web document through a

A. Class
B. Link/Url or path
C. Page
D. None
Answer» C. Page
12.

Page Designed in HTML is called as ________.

A. Front Page
B. Yellow Page
C. Server Page
D. Web Page
Answer» E.
13.

Which from following is not a type of screen frames in HTML

A. iframe
B. noframe
C. frameset
D. uframe
Answer» E.
14.

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
15.

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
16.

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.
17.

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>
18.

There are how many ways to create multicolumn layouts in a web document?

A. 1
B. 2
C. 3
D. 4
Answer» E.
19.

There are how many types of tag for HTML headings

A. 3
B. 4
C. 5
D. 6
Answer» E.
20.

Default character set in HTML 5 is

A. UTF-1
B. UTF-4
C. UTF-8
D. UTF-12
Answer» D. UTF-12
21.

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
22.

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
23.

Autofocus attribute is an example of

A. HTML
B. PHP
C. J-Query
D. HTML5
Answer» E.
24.

Which attribute is used to declare language in HTML document?

A. <!DOCTYPE html>
B. <html = " ">
C. < a href = " ">
D. <html lang =" ">
Answer» E.
25.

HTML is a set of

A. Markup tags
B. Markup links
C. Markup elements
D. All of above
Answer» B. Markup links
26.

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.
27.

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.
28.

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
29.

Next version of XHTML 1.0 is

A. HTML 1.1
B. HTML 4.01
C. HTML 3.2
D. HTML5
Answer» E.
30.

Title element defines title of document at

A. Header
B. Web browser
C. Middle of Document
D. Footer
Answer» C. Middle of Document
31.

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
32.

Which of following is not semantic element?

A. <table>
B. <article>
C. <div>
D. <form>
Answer» D. <form>
33.

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
34.

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
35.

Which language is used to create web documents?

A. PHP
B. JavaScript
C. HTML
D. J-Query
Answer» D. J-Query
36.

For defining a submit button which tag is used?

A. <button>
B. <submit button>
C. <submit>
D. <action submit>
Answer» D. <action submit>
37.

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>
38.

What is short form of Secure HyperText Transfer Protocol?

A. HTTP
B. HTTPS
C. SHTTP
D. Secure HTTP
Answer» C. SHTTP
39.

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
40.

For uniquely identifying an elements name which attribute is used?

A. id
B. class
C. header
D. none
Answer» B. class
41.

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
42.

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>
43.

An ordered list in HTML document starts with a

A. <ul> tag
B. <ol> tag
C. <li> tag
D. None
Answer» C. <li> tag
44.

For playing soundtrack in background which tag is used?

A. <backgroundsound>
B. <bgsound>
C. <sound>
D. <bgtrack>
Answer» C. <sound>
45.

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
46.

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
47.

(document.getElementById("demo").innerHTML = "Hello!"; ) Function is an example of?

A. PHP
B. JavaScript
C. HTML5
D. None
Answer» C. HTML5
48.

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
49.

HTML tags are?

A. Case sensitive
B. Not case sensitive
C. lowercase stricter
D. Uppercase stricter
Answer» C. lowercase stricter
50.

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