0% found this document useful (0 votes)
222 views11 pages

MCQ Based On Lesson1 Advanced Web Designing

It is important to it

Uploaded by

heenannakarani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
222 views11 pages

MCQ Based On Lesson1 Advanced Web Designing

It is important to it

Uploaded by

heenannakarani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Class :-12th Sci/Commerce Information Technology Teacher : Mrs.

Shilpa Kate

MCQ :: Lesson No.1. Advanced Web designing

Multiple Choice Questions select one correct option

1 .Following code is used for

<video width=”320” height=”240” controls=”controls”>

<source src=”test.mp4” type=”video/mp4”>

</video>

a) Display audio
b) Display video
c) Display text
d) Display image

2. What is the correct HTML5 tag for adding a background color?

a)< body background=”yellow”>

b) <background>yellow</background>

c)<body style=”background-color:white;”>

d)None

3.…..tag is used to specify an inline frame

a. <jframe>
b. <frameset>
c. <iframe>
d. <frame>

4. ___________is not a HTML5 tag.

a)<source>

b) <video>
c)<slider>

d) All of the above

5. ______________ is the correct syntax of doctype in HTML5.

a) </doctype html> b) <doctype html!>

c) <!doctype html> d) All of the above

6. Which is the correct HTML for making a text input field?

a.) <input type=”text”/>

b.)<input type=”text”/>

c.)<input type=”textfield”/>

d.)<textfield>

7.Find out correct syntax

a)<dl><dd>HTML</dd> <dt> hypertext markup language is the authoring language used to


create documents for the World Wide web.</dl></dt>

b)<dl><dt>html</dt> <dd> hypertext markup language is the authoring language used to create
documents for the World Wide web </dl> </dd>

c)<dl><dt>html</dt><dd>hypertext marup language is the authoring language used to


create documents for the World Wide web </dd> </dl>

d)None

8.If you wanted to create a list with bullets what tag would you use?(select 2 options)

a. <ol>
b. <ul>
c. <li>
d. <il>

9.The attribute of video element which points to the video file to be played is……….

a. Source
b. Href
c. Src
d. File
10.Which attribute must be added to the img tag to designate the image as a Client-side?

i) Img
ii) Not used
iii) Usemap
iv) Map

11.Which attribute is used to add video controls like play,pause,and volume in video

a)autoplay
b)play
c)video controls
d)controls

12.For checking a regular expression in input fields of HTML forms which attribute is
used.

a)Checker
b) valid input
c) pattern
d none

13.Which of the following is not a newly added element in HTML5?

a)article
b)audio
c)nav
d)frameset

14.Which of the following element represent header of a section or document.

a) Data-x
b) Header
c) Nav
d) Head

15.Which of the following attribute is used to display date/time content?

a)time
b)datetime
c)date
d)year

16.Which tag is used to defines multiple media resources for media elements audio and
video?

a) <Source>
b) <Canvas>
c) <Audio>
d) None

17.In HTML audio/video ,….sets or returns whether the audio/video should start playing
as soon as it is loaded?

a)controls

b)audio Tracks

c)autoplay

d)currentSrc

18.In HTML Audio/video DOM, …..sets or returns whether the audio/video start over
again when finished

a)loop

b)autoplay

c)seeking

d)played

19.Which of the following is not a type of attribute for input tag?

a)day

b)week

c)month
d)time

20.Which of the following type attributes of input element defines control for entering a
telephone number?

a)mob

b)tel

c)mobile

d)telephone

21.Which of the following is not sectioning elements?

a. <article>

b. <aside>

c. <nav>

d. <header>

22.____________ contains the navigation menu, or other navigation functionality for the
page.

a. section

b. header

c. nav

d. aside

23.Which of the following does not lie under the attribute of <input> and is not supported
by Opera?

a. url

b. time

c. tel

d. option
24.How do we write comments in HTML5?

a. <!……>

b. <…….!>

c. </…….>

d. </……/>

25.Which attribute is not essential under <iframe>?

a. src

b. height

c. width

d. frameborder

26.Attributes that allow to identify particular element are ____________

a. <div> and <span>

b. <meta>

c. id and class

d. <iframes>

27.Which of the following works as a sidebar?

a. <aside>

b. <footer>

c. <details>

d. <section>

27.Which of the following is the correct way to create a list using the lowercase letters?
a. <ol alpha = "a" >
b. <ol type = "a">
c. <ol letter = "a">
d. None of the above

28. Which of the following is the correct way to start an ordered list with the count of
numeric value 4?

a. <ol type = "1" begin = "4">


b. <ol type = "1" num = "4">
c. <ol type = "1" start = "4">
d. <ol type = "1" initial = "4">

29.Which of the following HTML attribute is used to define inline styles?

a. style
b. type
c. class
d. None of the above

30.How many ways co-ordinates can be used in Hot sopt?

A)2 B)3 c)4 D) All of these

31. What is CSS stands for?

A.Color Style Sheets

B.Cascade Sheets Style

C.Cascade Style Sheet

D.Cascading Style Sheets

32.In CSS what does h1 can be called as?

A.Selector

B.Attribute

C.Value
D.Tag

33.In CSS what does “color:red” can be called as

A.Selector

B.Rule

C.Declaration

D.None of the above

34. ………………..selectors,which are used to specify a rule to bind to a particular unique element.

A. id ( preceded #)

B. class(preceded .)

C. tag

D. both (B) and (C)

35.Which of the following property is used to set the color of a text?

A - color

B - direction

C - letter-spacing

D - word-spacing

36. If we want to use a nice looking green dotted border around an image, which css property will we
use? (select 2 correct options)

A.border-color B.border-decoration

C.border-style D.border-line

37. How will you make all paragraph elements 'RED' in color ?

A. p.all {color: red;} B .p.all {color: #990000;}

C. all.p {color: #998877;} D. p {color: red;}

38.By default Hyperlinks are displayed with an underline. How do you remove the underline from all
hyperlinks by using CSS code ?
A. a {text: no-underline;} B. a {text-decoration:none;}

C. a {text-style: no-underline;} D. a {text-decoration: no-underline;}

39.The default value of "position" attribute is _________.

A. fixed B. absolute

C. inherit D. relative

40.Which CSS property is used to control the text size of an element ?

A. font-style B. text-size

C. font-size D. text-style

41.Which css property you will use if you want to add some margin between a DIV's border and its
inner text ?

A. spacing B. margin

C. padding D. inner-margin

42.What will happen in this case?

<p style =”color:red” > text</p>

A) Make that specific paragraph red

B) error

c) nothing happens

d)none of the mentioned

43. Which of the following is the correct way to applying style to a document?

A.Use an external style sheet, either by importing it or by linking to it

B.Directly embed a document-wide style in the head element of the document


C.Set an inline style rule using the style attribute directly on an element

D. All of the mentioned

44.The ……property is used to set the color of the text.

A. pallet

B.colour

C.color

D.text-decoration

45.Which of the following is the correct way to apply styles?

A )inside an HTML element

B.) inside the head section of an HTML page

C.in an external CSS file

D.all of the mentioned

46. The different ways to associate styles with a HTML document is/are

A) Embedded CSS with <style> element

B) Inline CSS with style attribute.

C) External CSS with <link> element.

D) All of the above

Q2. True or false

1.The doctype should already be on first line of every HTML page

a) True b.False

2. <audio> tag is used for audio in HTML5.


a) True b.False

3. The rel attribute specifies a relationship between the current document and another document,
such as a style sheet.

a. True b.False

4. The link element should be placed at the top of the body section.

a.True b.False

5. CSS can add background images to documents.

a.True b.False

6. We use Color: property to change the text color of an element.

a.True b.False

You might also like