Explore topic-wise MCQs in Technical Programming.

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

51.

__________ automatically add some empty space (a margin) before and after each heading.

A. Browser
B. Interpreter
C. Server
D. Compiler
Answer» B. Interpreter
52.

Which of the following selector matches a particular element only when it lies inside a particular element?

A. The Type Selector
B. The Descendant Selector
C. The Universal Selector
D. The Class Selector
Answer» C. The Universal Selector
53.

_________ defines the most important heading ?

A. H1
B. H4
C. H6
D. H2
Answer» B. H4
54.

Which symbol is written immediately after mailto Keyword in href attribute of anchor tag ?

A. Semicolon
B. Hash
C. Colon
D. Comma
Answer» D. Comma
55.

Alt Attribute is more useful in the situation where user have ____________.

A. High Speed Internet Connection
B. Slow Internet Connection
C. Broadband Connection
D. None of these
Answer» C. Broadband Connection
56.

Query parameters are written usually after ____________ Symbol.

A. Colon
B. Question Mark
C. Semicolon
D. None of these
Answer» C. Semicolon
57.

__________ attribute is used to display an image ?

A. src attribute
B. val attribute
C. source attribute
D. srs attribute
Answer» B. val attribute
58.

Which of the following pair of attribute is required for img tag ?

A. src and alt
B. src and a
C. img and src
D. img and alt
Answer» B. src and a
59.

Which of the following HTML tag is used to define clickable area in an image map ?

A. <map>
B. <click>
C. <area>
D. <img>
Answer» D. <img>
60.

Which of the following attribute is supported in HTML5 ?

A. border
B. longdesc
C. align
D. None of these
Answer» E.
61.

Which of the following tag is used to mark a begnining of paragraph ?

A. <br>
B. <P>
C. <TD>
D. <TR>
Answer» C. <TD>
62.

The attribute of tag

A. Action
B. Method
C. Both (a)&(b)
D. None of these
Answer» D. None of these
63.

Correct HTML tag for the largest heading is

A. <heading>
B. <h1>
C. <h6>
D. <head>
Answer» C. <h6>
64.

The common element which describe the web page, is ?

A. heading
B. paragraph
C. list
D. All of these
Answer» E.
65.

Which tag creates a number/order list?

A. <IT>
B. <OL>
C. <OT>
D. <UL>
Answer» C. <OT>
66.

If we need to include some of the lines to mail body then we can use following approach ?

A. <a href="mailto:sam@gmail.com&body=Body Text" >Email</a>
B. <a href="mailto:sam@gmail.com?body=Body Text">Email</a>
C. <a href="mailto:sam@gmail.com" body="Body Text">Email</a>
D. None of these
Answer» C. <a href="mailto:sam@gmail.com" body="Body Text">Email</a>
67.

We can include default subject heading and body text by passing query parameter(s) separated by _____________ symbol.

A. Comma
B. Colon
C. Question Mark
D. Ampersand
Answer» E.
68.

Correct HTML to left align the content inside a table cell is

A. <td align = "left">
B. <td align = "left">
C. <td leftalign>
D. <tdleft>
Answer» B. <td align = "left">
69.

If the image cannot be displayed then _______ specifies an alternate text for an image.

A. text attribute
B. alt attribute
C. value attribute
D. caption attribute
Answer» C. value attribute
70.

"Courier / Courier New" resembles following generic font family -

A. monospace
B. serif
C. cursive
D. fantasy
Answer» B. serif
71.

Which of the following fonts are Generic Fonts ?

A. Cursive
B. Serif
C. Monospace
D. All of the above
Answer» E.
72.

There are how many ways to add CSS sheets in HTML elements?

A. 3 ways
B. 2 ways
C. 1 way
D. a lot of ways
Answer» B. 2 ways
73.

PCs running with windows 3.x will have extension for HTML page which is

A. .htm
B. .hml
C. .html
D. .tml
Answer» B. .hml
74.

In HTML, tags consists of keywords enclosed within

A. Angular brackets <>
B. Parantheses ()
C. Flower brackets
D. Square brackets []
Answer» B. Parantheses ()
75.

Name the section at the top of the document used to place the name, page number etc. :

A. Header
B. Web Layout
C. Footer
D. Hyperlink
Answer» B. Web Layout
76.

In Descendant Selector , style is applied to element based on ________ .

A. whether element have sub element or not
B. whether element have only 2 sub elements or not
C. whether element is of particular type or not
D. None of These
Answer» B. whether element have only 2 sub elements or not
77.

Which of the following property is used as a shorthand to specify a number of other background properties?

A. background-attachment
B. background
C. background-repeat
D. background-position
Answer» C. background-repeat
78.

Currently clicking and holding down the mouse button on represents ___________ pseudo class.

A. a:link
B. a:visited
C. a:active
D. a:hover
Answer» D. a:hover
79.

One of the following method is used to send the email with default subject "Hello".

A. <a href="mailto:sam@gmail.com?subject=Hello">Email</a>
B. <a href="mailto:sam@gmail.com&subject:"Hello">Email</a>
C. <a href="mailto:sam@gmail.com" subject="Hello">Email</a>
D. None of these
Answer» B. <a href="mailto:sam@gmail.com&subject:"Hello">Email</a>
80.

The language used for creating web pages

A. HyperText Machine Language
B. HyperText Markup Language
C. HyperText Makeup Language
D. HyperText Manage Language
Answer» C. HyperText Makeup Language
81.

Which style of CSS sheets are more preferable for applying a unique style in single web element?

A. Inline CSS
B. External CSS
C. Internal CSS
D. None
Answer» B. External CSS
82.

How can you open a link in a new browser window?

A. <a href = "url" target= "-blank">
B. <a href = "url".new>
C. <a href = "url" target ="open">
D. < a href = "url" target = "new">
Answer» B. <a href = "url".new>
83.

Character encoding is

A. a system that consists of a code which pairs each character with a pattern,sequence of natural numbers or electrical pulse in order to transmit the data
B. method used to represent character in a number
C. method used to represent numbers in a character
D. none of these
Answer» B. method used to represent character in a number
84.

Which of the following property specifies whether a long point that wraps to a second line should align with the first line or start underneath the start of the marker of a list?

A. list-style-type
B. list-style-position
C. list-style-image
D. list-style
Answer» C. list-style-image
85.

Which of the following is correct about Hex Code format of CSS colors?

A. The first two digits(RR) represent a red value.
B. The next two are a green value(GG).
C. The last are the blue value(BB).
D. All of the above.
Answer» E.
86.

Which is smallest Heading Tag ?

A. H3
B. H5
C. H6
D. H4
Answer» D. H4
87.

Multiple font faces are separated by __________ .

A. Semicolon
B. Comma
C. Dot
D. Slash
Answer» C. Dot
88.

Which of the Style is applied to the H1 heading by default ?

A. Italic
B. Bold and Underline
C. Bold
D. Underline
Answer» D. Underline
89.

Which of the tag is used to creates a number list?

A. <LI>
B. <OL>
C. <LI> and <OL>
D. None of these
Answer» D. None of these
90.

To create a link to an e-mail address following syntax is used -

A. <a email="name@example.com">email</a>
B. <a href="mail:name@example.com">email</a>
C. <a href="mailto:name@example.com">email</a>
D. None of these
Answer» D. None of these
91.

_______ is the encompassing term that involves the use of electronic platforms intranets, extranets and the Internet to conduct a company’s business.

A. E–business
B. E–commerce
C. E–procurement
D. E–marketing
Answer» C. E–procurement
92.

Which is largest Heading tag ?

A. H3
B. H4
C. H2
D. H1
Answer» E.
93.

HTML was first proposed in

A. 1995
B. 1990
C. 1998
D. 1980
Answer» C. 1998
94.

Which of the following defines a measurement as a percentage relative to another value, typically an enclosing element?

A. %
B. cm
C. em
D. ex
Answer» B. cm
95.

Which of the following tag is used to link the URL ?

A. <a>
B. <style>
C. <link>
D. <hyperlink>
Answer» B. <style>
96.

Which of the following property is used to set the opacity of an image?

A. border
B. height
C. width
D. moz-opacity
Answer» E.
97.

From which tag descriptive list starts ?

A. <DL>
B. <DS>
C. <LL>
D. <DD>
Answer» B. <DS>
98.

Which of the following is used to represent Visited hyperlink.

A. :visited
B. :clicked
C. :focus
D. :link
Answer» B. :clicked
99.

Primary author of HTML (hyper text markup language) is

A. Brendan Eich
B. Tim Berners-Lee
C. google inc.
D. Peter Norton
Answer» C. google inc.
100.

The latest HTML standard is

A. HTML 5.0
B. HTML 4.0
C. SGML
D. XML
Answer» B. HTML 4.0