188
81.7k

170+ HTML Solved MCQs

These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Programming Languages .

101.

Which tag is used to lists the items with bullets?

A. <bullet>…</bullet>
B. <list>…</list>
C. <ul>…</ul>
D. <ol>…</ol>
Answer» C. <ul>…</ul>
102.

Is it possible to insert a table within another table?

A. Yes, but there must be exactly 2 rows and 2 columns in first table.
B. Yes, table can be inserted into cell of another table.
C. Yes, but there must be no border in second table.
D. No, it’s not possible.
Answer» B. Yes, table can be inserted into cell of another table.
103.

What is the usage of alt value in <img> tag?

A. Alternative text for an Image
B. Alternative source of an Image
C. Caption of an Image
D. All of above
Answer» A. Alternative text for an Image
104.

Which of the following is the correct regarding meta tag in HTML?

A. <meta> … </meta>
B. <meta name = " " />
C. <metadata> … </metadata>
D. <metadata name = " " />
Answer» B. <meta name = " " />
105.

Which of the following is correct to set "Black" color as Background of page?

A. <body bgcolor = "#000000">
B. <body background = "#000000">
C. <body Background color = "#000000">
D. All of Above
Answer» A. <body bgcolor = "#000000">
106.

Which of the following is correct to align H1 tag to Right Alignment

A. <h1 align = "right"> … </h1>
B. <h1 alignment = "right"> … </h1>
C. <h1 tag align = "right"> … </h1>
D. H1 cannot make Right Alignment
Answer» A. <h1 align = "right"> … </h1>
107.

Which of the following is correct to change font face in Web Page

A. <font = "font name"> … </font>
B. <font name = "font name"> … </font>
C. <font face = "font name"> … </font>
D. Font Face cannot change
Answer» C. <font face = "font name"> … </font>
108.

Which of the following is incorrect regarding Logical styles?

A. Code looks like teletype
B. Sample looks like teletype
C. Keyboard looks like teletype
D. Variable looks like teletype
Answer» D. Variable looks like teletype
109.

Which of the following is correct character entities for "Copyright" symbol?

A. &#149;
B. &#159;
C. &#169;
D. &#179;
Answer» C. &#169;
110.

Which tag is used to display Preformatted texts?

A. <pre> … </ pre>
B. <prefor> … </ prefor>
C. <pre text> … </ pre text>
D. <pre format> … </ pre format>
Answer» A. <pre> … </ pre>
111.

Which is the correct to create an Arabic numeral list

A. <ul type="1">
B. <ol type="1">
C. <il type="1">
D. <li type="1">
Answer» B. <ol type="1">
112.

How to add alternative text for an Image?

A. <img src = "http://www.mcqmate.com/brand.png" alternate = "Brand of website" />
B. <img src = "http://www.mcqmate.com/brand.png" alt text = "Brand of website" />
C. <img src = "http://www.mcqmate.com/brand.png" alternate text = "Brand of website" />
D. <img src = "http://www.mcqmate.com/brand.png" alt = "Brand of website" />
Answer» D. <img src = "http://www.mcqmate.com/brand.png" alt = "Brand of website" />
113.

How to embedded Audio Files in HTML?

A. <embed src = "mysong.mid" width = "100" height = "15">
B. <embed sound = "mysong.mid" width = "100" height = "15">
C. <embed audio = "mysong.mid" width = "100" height = "15">
D. <embed music = "mysong.mid" width = "100" height = "15">
Answer» A. <embed src = "mysong.mid" width = "100" height = "15">
114.

Whichg of the following is used to create web pages?

A. HTML
B. C
C. JVM
D. DTD
Answer» A. HTML
115.

HTML is considered as ___ language

A. Programming Langauge
B. OOP Language
C. High Level Language
D. Markup Language
Answer» D. Markup Language
116.

HTML language is a set of markup ___

A. Attributes
B. Tags
C. Sets
D. Groups
Answer» B. Tags
117.

HTML tags are used to describe document ____

A. Definition
B. Language
C. Content
D. None of these
Answer» C. Content
118.

HTML document can contain

A. Attributes
B. Tags
C. Plain text
D. All of these
Answer» D. All of these
119.

Page designed in HTML is called a

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

We can write HTML code using ____. Select appropriate option(s).

A. VLC Media
B. Notepad++
C. Microsoft PowerPoint
D. None of these
Answer» B. Notepad++
121.

HTML document is saved using ____ extension.

A. .htl
B. .html
C. .hml
D. .htnl
Answer» B. .html
122.

The software that can read and render HTML documents is

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

PCs running Windows 3.x will have ____extension for html pages

A. .htl
B. .html
C. .htm
D. .hml
Answer» C. .htm
124.

Which of the following is not an example of browser?

A. Netscape Navigator
B. Microsoft Bing
C. Mozilla Firefox
D. Opera
Answer» B. Microsoft Bing
125.

Who is the primary author of HTML?

A. Brendan Eich
B. Tim Berners-Lee
C. Web Programmer
D. Google Inc
Answer» B. Tim Berners-Lee
126.

HTML was first proposed in year ___.

A. 1980
B. 1990
C. 1995
D. 2000
Answer» B. 1990
127.

HTML tags are surrounded by ___ brackets

A. Angle
B. Square
C. Round
D. Curly
Answer» A. Angle
128.

Opening tag of HTML is called

A. Ending tag
B. Starting tag
C. Closed tag
D. Pair tags
Answer» B. Starting tag
129.

HTML document contain one root tag called ____

A. HEAD
B. Title
C. Body
D. HTML
Answer» D. HTML
130.

Basic fundamental block is called as ___

A. HTML tag
B. HTML body
C. HTML Attribute
D. HTML Element
Answer» A. HTML tag
131.

Pick the odd out

A. Table
B. TR
C. TD
D. Form
Answer» D. Form
132.

The first page of a website is called

A. Design
B. Home page
C. First page
D. Main page
Answer» B. Home page
133.

The version of HTML is

A. HTML0
B. HTML1
C. HTML2
D. All of these
Answer» D. All of these
134.

Head tag is used for?

A. Writing style
B. Writing Java Script
C. Including CSS, JS Files
D. All of these
Answer» D. All of these
135.

How many heading tags are supported by HTML?

A. 3
B. 4
C. 5
D. 6
Answer» D. 6
136.

Which is the largest heading tag?

A. H1
B. H3
C. H4
D. H6
Answer» A. H1
137.

Which of the following are attributes of Font tag?

A. Face
B. Size
C. Color
D. All of above
Answer» D. All of above
138.

......................... connects web pages.

A. Connector
B. Link
C. Hyperlink
D. None of the above
Answer» C. Hyperlink
139.

Internet is ...............................

A. a network of networks
B. an ocean of resources waiting to be mined
C. a cooperative anarchy
D. all of the above
Answer» D. all of the above
140.

.................. is suitable for remote administration of a computer.

A. FTP
B. Shell
C. Remote Procedure Call
D. Telnet
Answer» D. Telnet
141.

Title tag is nested within the ....................... tag.

A. Body
B. Head
C. List
D. Table
Answer» B. Head
142.

.................... is a web's native protocol.

A. SLIP
B. TCP/IP
C. HTTP
D. PPP
Answer» C. HTTP
143.

The Internet uses the ........................ as the protocol engine.

A. SLIP
B. HTTP
C. TCP/IP
D. PPP
Answer» C. TCP/IP
144.

A ............................. is a symbolic name a network administrator assigns to a machine.

A. URL
B. DNS
C. IP address
D. Host name
Answer» D. Host name
145.

Which of the following protocol is used for e-mail services.

A. SMAP
B. SMTP
C. SMIP
D. SMOP
Answer» B. SMTP
146.

...................... is the incoming e-mail server.

A. POP
B. SMTP
C. SMIP
D. PPP
Answer» A. POP
147.

....................... is a uniform naming scheme for locating resources on the web.

A. URI
B. HTTP
C. WEBNAME
D. RESOURCENAME
Answer» A. URI
148.

The attribute .................. of <BODY> tag sets color of hypertext links.

A. link
B. vlink
C. alink
D. hlink
Answer» A. link
149.

Default font size of HTML is .......................

A. 2
B. 4
C. 6
D. 3
Answer» D. 3
150.

This is a networking device that passes data between networks having similar functions but dissimilar implementations.

A. Hub
B. Modem
C. Gateway
D. Repeater
Answer» C. Gateway

Done Studing? Take A Test.

Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.