Home
MCQS
HTML MCQ Quiz Hub
HTML . MCQ SET 2
Choose a topic to test your knowledge and improve your HTML skills
1. Which symbol is written immediately after mailto Keyword in href attribute of anchor tag ?
Semicolon
Hash
Colon
Comma
2. One of the following method is used to send the email with default subject "Hello".
<a href="mailto:sam@gmail.com?subject=Hello">Email</a>
<a href="mailto:sam@gmail.com&subject:"Hello">Email</a>
<a href="mailto:sam@gmail.com&subject:"Hello">Email</a>
None of these
3. If we need to include some of the lines to mail body then we can use following approach ?
<a href="mailto:sam@gmail.com&body=Body Text" >Email</a>
<a href="mailto:sam@gmail.com?body=Body Text">Email</a>
<a href="mailto:sam@gmail.com" body="Body Text">Email</a>
None of these
4. We can include default subject heading and body text by passing query parameter(s) separated by _____________ symbol.
Comma
Colon
Question Mark
Ampersand
5. Query parameters are written usually after ____________ Symbol.
Colon
Question Mark
Semicolon
None of these
6. If the image cannot be displayed then _______ specifies an alternate text for an image.
text attribute
alt attribute
value attribute
caption attribute
7. __________ attribute is used to display an image ?
src attribute
val attribute
source attribute
srs attribute
8. Which of the following pair of attribute is required for img tag ?
src and alt
src and a
img and src
img and alt
9. The ______ tag defines an image in an HTML page.
<pic>
<image>
<img>
<imge>
10. Alt Attribute is more useful in the situation where user have ____________.
High Speed Internet Connection
Slow Internet Connection
Broadband Connection
None of these
11. Which of the following attribute is supported in HTML5 ?
border
longdesc
align
None of these
12. Which of the following HTML tag is used to define clickable area in an image map ?
<map>
<click>
<area>
<img>
13. Documents converted to _______ can be published to the web.
HTML
Machine language
HTTP
FTP
14. In HTML, tags consists of keywords enclosed within
Angular brackets <>
Parantheses ()
Flower brackets
Square brackets []
15. _______ is the encompassing term that involves the use of electronic platforms intranets, extranets and the Internet to conduct a company’s business.
E–business
E–commerce
E–procurement
E–marketing
16. The common element which describe the web page, is ?
heading
paragraph
list
All of these
17. Which of the following tag is used to mark a begnining of paragraph ?
heading
paragraph
list
All of these
18. Which of the following tag is used to mark a begnining of paragraph ?
<br>
<P>
<TD>
<TR>
19. From which tag descriptive list starts ?
<DL>
<DS>
<LL>
<DD>
20. Correct HTML tag for the largest heading is
<heading>
<h1>
<h6>
<head>
21. The attribute of tag
Action
Method
Both (a)&(b)
None of these
22. What are Empty elements and is it valid?
No, it is valid to use Empty Element
No, it is not valid to use Empty Element
No, there is no such terms as Empty Element
Empty elements are element with no data
23. Web pages starts with which of the following tag?
<Title>
<HTML>
<Body>
<Form>
24. HTML is a subset of
SGML
SGMD
SGMT
None of these
25. Which of the following is a container?
<INPUT>
<BODY>
<Value>
<SELECT>
26. Character encoding is
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
method used to represent character in a number
method used to represent numbers in a character
none of these
27. From which tag the descriptive list starts?
<DS>
<DD>
<DL>
<LL>
28. Correct HTML to left align the content inside a table cell is
<td align = "left">
<td align = "left">
<td leftalign>
<tdleft>
29. The tag which allows you to rest other HTML tags within the description is
<CAPTION>
<TR>
<TD>
<TH>
30. How can you open a link in a new browser window?
<a href = "url" target= "-blank">
<a href = "url".new>
<a href = "url" target ="open">
< a href = "url" target = "new">
31. A much better approach to establish the base URL is to use
HEAD element
BASE element
both (a) and (b)
None of These
32. The tag used to create a new list item and also include a hyperlink is
<UL>
<DD>
<DL>
<LI>
33. Any part of the graphic that is not included in another hot zone is considered to be part of
polygon
point
default
rect
34. Which of the tag is used to creates a number list?
<LI>
<OL>
<LI> and <OL>
None of These
35. The map definition file is generally stored in a.
RECYCLE-BIN
BIN
CGI-BIN
All of the above
36. The latest HTML standard is
HTML 5.0
HTML 4.0
SGML
XML
37. The tag used to create a hypertext relationship between current document and another URL is e
<LINK>
<A>
<ISINDEX>
None of these
38. What i s the correct HTML for adding a background color?
<body color = "yellow">
<body bg color = "yellow">
<body bg ="yellow">
<background>yellow<Background>
39. The body tag usually used after
EM tag
FORM tag
Title tag
HEAD tag
40. How can you make an e-mail link?
<a href ="mail to: [email protected]">
<a href = "[email protected]">
<mail href +"[email protected]">
Both (b) and (c)
41. Which tag creates a number/order list?
<IT>
<OL>
<OT>
<UL>
42. Symbol used at the beginning of the HREF text is
&
#
^
$
43. Which of the following is a Valid Name?
<_person>
<123 person>
Both (a) and (b)
None of these
44. The web standard allows programmers on many different computer platforms to dispersed format and display the information server. These programs are called
Internet Explorer
HTML
FTP
Web Browsers
45. The MIME text file is saved with
HTML extension
THM extension
HMT extension
None of these
46. HTML is considered as a
high-level language
mid-level language
low-level language
markup language
47. HTML program can be read and rendered by
compiler
web browser
server
interpreter
48. HTML tags are used to describe documents
content
definition
language
link
49. Opening tag of HTML tag is also known as
ending tag
closed tag
starting tag
forward tag
50. HTML document contain 1 root tag called
HTML
BODY
TITLE
HEAD
51. Component used to create web page is
HTML
DTD
JVM
C
52. PCs running with windows 3.x will have extension for HTML page which is
.htm
.hml
.html
.tml
53. In computer web, basic fundamental block is also known as
HTML element
HTML attribute
HTML body
HTML tag
54. HTML program is saved using extension
.htnl
.htm
.html
.tml
55. HTML document contains
attributes
tags
plain text
all of these
56. Primary author of HTML (hyper text markup language) is
Brendan Eich
Tim Berners-Lee
google inc.
Peter Norton
57. Page designed in HTML is known as
front page
yellow page
server page
web page
58. HTML tags are surrounded by brackets
squart
round
angle
curly
59. CSS hover class is used for
Hovering upon using the mouse
Formatting
Styling of fonts
None
60. To define a style for a special type of elements, we can add a
Class
Margin
Border
Table
61. For applying styles on many web pages which style sheet is more preferable?
Inline CSS
External CSS
Internal CSS
None
62. CSS padding property is used for?
Space
Border
Background color
Margin
63. Which style of CSS sheets are more preferable for applying a unique style in single web element?
Inline CSS
External CSS
Internal CSS
None
64. There are how many ways to add CSS sheets in HTML elements?
3 ways
2 ways
1 way
a lot of ways
65. Using style sheets in head section of a web document is called
Inline CSS
External CSS
Internal CSS
Both (a) and (b)
Submit