HTML
HTML
A.class
B.styles
C.style
D.Font
6. CSS is also created and maintained by group of people within
A.W3A
B.W3C
C.W3B
D.W3D
7. CSS1:Developed in …….. by the W3C, describes CSS language and simple visual formatting for all HTML tags.
A.1992
B.1994
C.1995
D.1996
8. From which version of CSS under development since the late 1990s, added a lot of extra features?
A.CSS1
B.CSS2
C.CSS3
A.One level
B.two level
C.three level
D.four level
C.High Performance:
A.many pages
B.single pages
C.few pages
12. Which of the style sheet is also known as Embedded Style Sheet?
A.css
B.frame
C.iframe
A.Low Performance:
B.High Performance:
C.Browsers Compatibility:
15. A CSS declaration always ends with a ……………., and declaration groups are surrounded by …………………..
16. An internal style sheet should be used when a single document has a
A.unique style
B.common style
C.either (A) or (B)
17. A ……… tag is used to specify that the browser is to fetch and use an external style sheet file
A.<sheet>
B.<link>
C.<src>
18. To use inline styles you use the style attribute in the …………… tag
A.style tag
B.relevant tag
C.link tag
B.setting margins
C.applying colors
A.One level
B.Two level
C.Three level
D.Four level
22. Which of the style sheet is also known as Embedded Style Sheet?
A.oneB.twoC.threeD.four
24. A ……… tag is used to specify that the browser is to fetch and use an external style sheet file
25. Which style sheet can be apply to the content of a single element?
27. Where in an HTML document is the correct place to refer to an external style sheet?
A.class
B.styles
C.style
D.Font
29. The id selector is used to specify a style for
A.multiple,common element
B.multiple,unique element
30. The id selector uses the id attribute of the HTML element, and is defined with a
A.”@”
B.”_”
C.”%”
D.”#”
3. A keyword is the —
A main search word B name of a search engine
C word used to get rid of results D style of the search word
6. While searching on the Internet, you decided to check in more than one
search engine because —
A. that will avoid false information
B. that will avoid repetition of information
C. each engine produces different results
D. all Web users prefer this technique
11. Choose the correct HTML tag for the largest heading
A.<h6>
B.<heading>
C.<head>
D.<h1>
13. What is the correct HTML tag for inserting a line break?
A.<br />
B.<break />
C.<lb />
14. Can a data cell contain images?
A.Yes
B.No
16. What is the preferred way for adding a background color in HTML?
A.<body background=”yellow”>
B.<background>yellow</background>
C.<body style=”background-color:yellow”>
A) Type selector
B) Universal selector
C) Local selector
D) Descendant selector
A) //……………….//
B) <!………………>
C) /*………………*/
D) All of the above
A) //……………….//
B) <!………………>
C) /*………………*/
D) None of the above
A) @insert
B) @import
C) #import
D) #insert
Answers
1.D 2.A 3.A 4.C 5.C 6.C
1. Which of the following term describes the art of making dynamic &
interactive pages?
A. DHTML
B. HTML
C. XHTML
D. XML
2. <output> element represent?
A. Authenticate the user
B. result of a calculation
C. pre-defines value
D. none of these
12. Which file is used by the browser to fetch the appropriate data ?
A. Text file
B. HTML file
C. XML file
D. manifest file
20. Given statement is true or false: “Web worker script is depends on other
script.”A. YesB. No
Answers
1.A 2.B 3.C 4.A 5.A
4. There are ……… sets of HTML tags that form the basic structure needed for every HTML
file:
A. one
B. two
C. three
D. four
5. Which tag is used to a command that is used to instruct the computer (specifically browser)?
A. <html>
B. <div>
C. <frame>
D. None of the above
6. The Heading tag and Paragraph tag can be represented as
A. <head> and <para>
B. <hr> and <pr>
C. <h1> and <p>
D. None of the above
7. The HTML syntax of HTML5 requires a …………. to be specified to ensure that the browser
renders the page in standard mode.
A. DOCTYPE
B. HEAD
C. BODY
D. TITLE
8. Which tag is used to identify the beginning and end of the HTML document?
A. <html>
B. <body>
C. <title>
D. None of the above
20. Which one attribute is used to send the coordinate of image to the server When the user
clicks on the image?
A. COORD
B. SMAP
C. SIMAP
D. ISMAP
21. If you want to be sure that the image is indeed the same one that the author intended, and
hasn’t been modified in any way, which one attribute inside <img> tag is used?
A. MD
B. SD
C. NOCHANGE
D. LOCK
26. Which type of parameter specify the path where your image is placed?
A. path
B. scr
C. src
D. None of the above
29. The ……….. and ………….indicates vertical space and horizontal space respectively.
A. verspace and horspace
B. vspace and hspace
C. vertspace and hortspace
D. None of the above
31. Which attribute define the width and height of the image?
A. Size attribute
B. length attribute
C. margin attribute
D. All of the above
32. Which attribute can be created between image and its surrounding text by specifying
horizontal and vertical space?
A. space attribute
B. whitespace attribute
C. backspace attribute
D. All of the above
35. HTML provides a functionality to connect one or more pages in web-pages or resources.
A. link
B. src
C. node
D. tree
37. HTML provides which control to use arranging text and also in defining the things more
understandable manner.
A. Tables
B. Frames
C. Div
D. None of the above
40. Which attribute in Html table is used to give a border to your table?
A. line
B. border
C. margin-left border
D. All of the above
45. ……….. and ………….. are used to define a span in column and rows respectively.
A. ‘colspan’ and ‘rowspan’
B. ‘celpadding’ and ‘celspacing’
C. either (A) or either (B)
D. neither (A) or nor (B)
49. In HTML the DIV element can be found inside any element that can contain
A. high elements
B. low elements
C. flow elements
D. All of the above
50. From which element has very similar properties to the DIV element?
A. strong element
B. span element
C. table element
D. All of the above
Answers
1.D 2.B 3.C 4.D 5.A 6.C
7.A 8.A 9.B 10.B 11.D 12.A
13.A 14.B 15.C 16.C 17.B 18.A
19.C 20.D 21.A 22.D 23.A 24.C
25.A 26.C 27.C 28.B 29.B 30.D
31.A 32.A 33.C 34.A 35.A 36.D
37.A 38.A 39.D 40.B 41.A 42.A
43.D 44.B 45.A 46.C 47.B 48.A
49.C 50.B
HTML Set 4
1. Which element we want to center a block of content or position a content block on the page?
A. strong element
B. div element
C. span element
D. table element
2. Which element to gives the functionality in section of webpage to make it easier to manage,
style, and manipulate?
A. div element
B. span element
C. strong element
D. All of the above
7. HTML provides a ……. tag to creating online form for the purpose of collectiong infromation
from user.
A. <form>
B. <div>
C. <frame>
D. None of the above
9. The form tag can have different attributes, one/some of them may be
A. The action attribute
B. The method attributes
C. either (A) or (B)
D. both (A) and (B)
10. Which attribute specifies the URL of the script on the web server?
A. The action attribute
B. The method attribute
C. either (A) or (B)
D. neither (A) nor (B)
11. Which attribute specifies the technique that is used to pass data to the server?
A. The action attribute
B. The method attribute
C. either (A) or (B)
D. neither (A) nor (B)
14. Which Specifies the maximum number of characters for the text field?
A. maximumlength
B. largelength
C. maxlength
D. None of the above
17. The <input type=” …”> tag is used to add a text field to a form.
A. text
B. checkbox
C. radio
D. All of the above
18. Which attribute will be defines a unique name for the text field?
A. hidden
B. password
C. text
D. name
19. Which is used to collect and process the information (to send the server) entered by the user?
A. method attribute
B. action attribute
C. either (A) or (B)
D. neither (A) nor (B)
23. A …….consisting of a year and a week number encoded according to ISO 8601.
A. week
B. month
C. year
D. All of the above
24. A ……. (year, month, day, hour, minute, second, fractions of a second) encoded according to
ISO 8601, with no time zone information ISO 8601.
A. datetime-local
B. datetime
C. datesecond
D. dateminute
25. Which type is used for input fields that should contain a URL address?
A. src
B. path
C. url
D. All of the above
26. A ………… (year, month, day, hour, minute, second, fractions of a second) encoded
according to ISO 8601 with the time zone set to UTC.
A. datetime-local
B. datetime
C. datesecond
D. dateminute
27. In a single HTML file, we can display multiple html file using-
A. Form
B. Frame
C. Table
D. cell
28. Multiple views offer designers a way to keep certain information visible, while other views
are
A. scrolled
B. replaced
C. scrolled or replaced
D. None of the above
30. The <frameset> tag replaces the which element in frameset documents?
A. <body>
B. <title>
C. <head>
D. None of the above
31. Which properties allow specifying the formatting rules for the textual content on a Wep
page?
A. CSS texting
B. CSS text
C. CSS textual
D. None of the above
32. Which of the following protocol is not used in the Internrt?
A. Telnet
B. WIRL
C. HTTP
D. Gopher
41. The iFrame attribute ………. indicates that the browser should render the inline frame in a
way that makes it appear to be part of the containing document.
A. seemless
B. smooth
C. inner
D. None of the Above
42. Which attribute enables extra restrictions on the content that can appear in the inline frame?
A. hidden
B. secret
C. secure
D. sandbox
43. The value ….. tells the browser not to draw a border between this frame and other frames.
A. 0
B. -1
C. 2
D. 10
44. CSS stands for
A. Cashcade Style Sheets
B. Cascade Screept Sheets
C. Cascading Style Sheets
D. None of the above
45. W3C released the first specification of CSS in …….. named CSS1 specification
A. 1996
B. 1992
C. 1993
D. None of the above
46. A CSS declaration always ends with a ………. and declaration groups are surrounded by
…………..
A. semicolon and curly brackets
B. semicolon and square brackets
C. either (A) or (B)
D. neither (A) or nor (B)
49. The id selector uses the id attribute of the HTML element, and is defined with a
A. “@”
B. “_”
C. “%”
D. “#”
Answers
1.B 2.A 3.A 4.B 5.D 6.A
7.A 8.C 9.D 10.A 11.B 12.B
13.A 14.C 15.B 16.D 17.A 18.D
19.DD 20.B 21.D 22.C 23.A 24.A
25.C 26.B 27.B 28.C 29.D 30.A
31.B 32.B 33.D 34.B 35.B 36.C
37.A 38.D 39.B 40.A 41.A 42.D
43.A 44.C 45.A 46.A 47.C 48.D
49.D 50.B
1. How to define the link should open in new page in HTML?
a. <a href = “http://www.mcqsets.com/” target = “blank”>Click Here</a>
b. <a href = “http://www.mcqsets.com/” target = “_blank”> Click Here </a>
c. <a href = “http://www.mcqsets.com/” target = “#blank”> Click Here </a>
d. <a href = “http://www.mcqsets.com/” target = “@blank”> Click Here </a>
2. In HTML, Uniform Resource Identifier (URI) is used to
a. To create a frame document .
b. To create a image map in the webpage.
c. To customize the image in the webpage.
d. To identify a name or a resource on the internet.
11. Which HTML Tag will use to scroll a text in web page?
a. <marquee> … </marquee>
b. <scroll> … </scroll>
c. <round> … </round>
d. <go> … </go>
21. Which of the following is the correct regarding meta tag in HTML?
a. A. <meta> … </meta>
b. B. <meta name = ” ” />
c. C. <metadata> … </metadata>
d. D. <metadata name = ” ” />
24. Which of the following is correct to change font face in Web Page
a. A. <font = “font name”> …
b. B. <font name = “font name”> … </font>
c. C. <font face = “font name”> … </font>
d. D. Font Face cannot change
26. Which of the following is correct character entities for “Copyright” symbol?
a. A. •
b. B. Ÿ
c. C. ©
d. D. ³
37. We can write HTML code using ____. Select appropriate option(s).
a. VLC Media
b. Notepad++
c. Microsoft PowerPoint
d. None of these
39. The software that can read and render HTML documents is
a. Server
b. Compiler
c. Interpreter
d. Browser
40. PCs running Windows 3.x will have ____extension for html pages
a. .htl
b. .html
c. .htm
d. .hml
65. The attribute ……………… of <BODY> tag sets color of hypertext links.
a. link
b. vlink
c. alink
d. hlink
67. This is a networking device that passes data between networks having
similar functions but dissimilar implementations.
a. Hub
b. Modem
c. Gateway
d. Repeater
72. The regional networks are connected to the corporate networks, this is
also called as ……..
a. Backbone
b. LAN COM
c. WAN COM
d. Intranet
73. Once the email is sent, the message is broken into pieces called
………………
a. Packets
b. Process
c. Digits
d. Bytes
74. ………………. is known as father of World Wide Web.
a. Robert Cailliau
b. Tim Thompson
c. Charles Darwin
d. Tim Berners-Lee
80. Which of the following are two popular protocols that allow home computer
users to connect their computers to the internet as per hosts? i) SLIP ii)
PPPiii) HTTP iv) SMTP
a. iii and iv
b. ii and iii
c. i and ii
d. ii and iii
82. Identify the uses of URI in HTML.: i) Link to another document or resource
ii) Link to external style sheet or script iii) Create an image map
a. i and ii
b. i and iii
c. ii and iii
d. i , ii and iii
84. Linking to another place in the same or another web page requires two A
(Anchor) tags, the first with the ……………… attribute and the second the
……………….attribute.
a. NAME & LINK
b. LINK & HREF
c. HREF & NAME
d. TARGET & VALUE
85. What type of information should you avoid including on your Web site?
a. Links to sites of interest
b. Private personal information
c. Work and academic experience
d. Graphical
86. Which of the following web elements should you know about before
building your web site?
a. The web audience
b. The operating environment of your ISP
c. The operating system of your visitor
d. Each consideration should determine your web design choices
89. A Web document is broken into sections. What are the tags called that
create these sections?
a. Structure tags
b. HTML tags
c. Heading tags
d. Body tags
90. What should be the first and last pair of tags in your Web document?
a. <html></html> and <body></body>
b. <start><end> and <body></body>
c. <head><body> and <title></title>
d. <title></title> and <body<>/body>
Answers
1.b 2.d 3.a 4.b 5.d 6.b 7.a 8.c 9.a 10.d
11.a 12.c 13.a 14.c 15.b 16.b 17.d 18.c 19.b 20.a
21.b 22.a 23.a 24.c 25.d 26.c 27.a 28.b 29.d 30.a
31.a 32.d 33.b 34.c 35.d 36.b 37.a 38.b 39.d 40.c
41.b 42.b 43.b 44.a 45.b 46.d 47.a 48.d 49.b 50.d
51.d 52.d 53.a 54.d 55.c 56.d 57.d 58.b 59.c 60.c
61.d 62.b 63.a 64.a 65.a 66.d 67.c 68.c 69.c 70.d
71.d 72.a 73.a 74.d 75.a 76.a 77.a 78.b 79.b 80.c
81.a 82.d 83.d 84.c 85.b 86.a 87.d 88.a 89.a 190.a
Set2
4. The ____________ property specifies which sides of an element other floating elements are
not allowed.
A. cleared
B. clear
C. float
D. Both A and B above
7. Block elements can be aligned by setting the left and right margins to “align”
A. True
B. False
12. _________ property can be used to Increase or decrease the space between words
A. space
B. word-spacing
C. word-space
D. Both b and c above
13. Multiple external style sheets cannot be referenced inside a single HTML document
A. True
B. False
15. The _________ property is mostly used to remove underline from links
A. text-trans
B. text-transformation
C. text-decoration
D. text-deco
Answers
1.A 2.A 3.C 4.B 5.D 6.D
7.B 8.C 9.A 10.C 11.C 12.B
13.B 14.B 15.C 16.A 17.C 18.A
19.D 20.B
Set 3:
4. To use inline styles you use the style attribute in the …………… tag
A.style tag
B.relevant tag
C.link tag
D.None of the above
18. Fonts such as Times New Roman which have spaces in between must be
wrapped inside ______
A.Quotation Mark
B.Round Brackets
C.Triangular Brackets
D.Curly Braces
20. How do you make a list that lists its items with squares?
A.list-type: square
B.list-style-type: square
C.type: 2
D.type: square
21. How do you make a list that lists its decimal values with Sequence Type?
A.list-style-type:decimal
B.list-type: square
C.type: 1.2
D.type: decimal
23. Which property can be used to indicate whether the marker should appear
outside or inside of the box containing the bullet points?
A.list-style-character:
B.list-style-position:
C.list-style-image:
D.None of the above
24. Which property can be used to specify all the list properties into a single
expression?
A.ls-style
B.liststyle
C.list-style
D.None of the above
28. When using the shorthand property, the order of the values are
A.list-style-type
B.list-style-position
C.list-style-image
D.All of the above
29. CSS colors are defined using a _________ notation for the combination of
Red, Green, and Blue color values (RGB).
A.hexadecimal
B.octadecimal
C.nanodecimal
D.pentadecimal
30. Which colors are displayed using an equal amount of power to all of the
light sources ?
A.Red
B.Blue
C.gray
D.Yellow
Answers
1.B 2.B 3.A 4.B 5.C 6.D
10. The _________ means an element on which the user is currently clicking.
A.a:active
B.a:visited
C.a:hover
D.None of the above
11. When setting the style for several link states, there are some order rules:
A.a:hover MUST come after a:link and a:visited
B.a:active MUST come after a:hover
C.Either (A) or (B)
D.Neither (A) nor (B)
12. Which is the correct syntax of the background color for links?
A.a:link {background-color:@B2FF99;}
B.a:link {background-color:#B2FF99;}
C.a:link {background-color:$B2FF99;}
D.a:link {background-color:&B2FF99;}
15. Which of the below is the correct way to set the color of active links?
A.<style type=”text/css”> a:hov {color:#000000} </style>
B.<style type=”text/css”> a:hover {color:#000000} </style>
C.<style type=’text/css’> a:hover {color:#000000} </style>
D.<style type=”text/css”> a->hover {color:#000000} </style>
17. The color names are defined in the HTML and CSS color specification
(___ standard colors plus ____ more).
A.15,123
B.16,125
C.17,124
D.18,126
18. Pseudo classes may be applied to any element but are most commonly
used with the __ element.
A.’a’
B.’b’
C.’c’
D.’d’
19. Which properties allow specifying the formatting rules for the textual
content on a Wep page?
A.CSS texting
B.CSS text
C.CSS textual
D.None of the above
20. Which properties specifying whether to write the text from left to right or
from right to left?
A.direction
B.letter-spacing
C.white-space
D.All of the above
21. The possible values of direction properties are
A.ltr and rtl
B.ttr and btr
C.mltr and mrtl
D.None of the above
23. Which property gets provide the increments or decrements the space
between characters?
A.direction
B.letter-spacing
C.white-space
D.None of the above
28. Which value preserves the white spaces as specified in the content?
A.pre
B.post
C.normal
D.nowrap
29. Which value will continue to display the text on the same line,until the BR
element is specified?
A.pre
B.post
C.normal
D.nowrap
Answers
1.C 2.A 3.B 4.D 5.A 6.B