0% found this document useful (0 votes)
37 views12 pages

Textual QuestionsChapter1

Uploaded by

amirthanadar05
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)
37 views12 pages

Textual QuestionsChapter1

Uploaded by

amirthanadar05
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/ 12

Chapter 1 Textual Questions Page

26
Q.1 Fill in the blanks Answers
1. 1.<DOCTYPE
The ________ element is a HTML html>
starting element in an HTML, it
indicates that document type
definition being used by the
document.
2. The ________ is a tag in HTML 2. <meta>
that describes some aspects of
contents of a webpage.
3. The <ol> tag defines on 3.
_______________. Ordered
list
4. An unordered list created using 4.
the _____________ tag. Unordere
d list
5. The ______________ element 5.<iframe
creates an inline frame. >
6. __________ tag is used to specify 6.<video>
video on an HTML document.
7. If a web developer wants to add 7.alt
the description to an image he
must use __________ attribute of
<img> tag.
8. The ___________ property is used 8.Position
to set position for an element.
9. The float property defines the 9.flow
__________ of content.
10. ___________ element is used with 10.
elements that overlap with each position
other.
Q.2 State whether the following
statement is True or False
1. HTML is an Object Oriented 1.False
Programming Language.
2. Charset is used for character 2.True
encoding declaration
3. An unordered list can be 3.False
numerical or alphabetical.
4. Multilevel list can be created 4.True
inn HTML5.
5. SrcCode specifies the HTML 5.False
content of the page to show in
the <iframe>.
6. The ‘controls’ attribute is not 6.True
used to add play ,pause and
volume,
7. .cs is the extension of CSS file 7.False
Q.3 Choose Single correct answer
from the given options.
1. __________ element used to 1. d
create a linking image. usemap
a.<img> b.<td> c.<map>
d.usemap
2. The ____________ tag is used 2. b audio
to embed audio files on
Webpages.
a. <sound> b.<audio>
c.<video> d.<embeded>
3. A programmer wants to 3 c. range
define range for age between
18 to 50.He will use a form
with following appropriate
control.
a. Number b. compare c.
range d. T.extboxes
4. _________ character is used to 4. d. #
create ID in CSS.
a. % b.$ c.@ d.#
Q.4 Choose Two correct answers 1.b,c
from the given options.
1. List within another list
either _____________ list or
___________ list is called
nested list.
a. Multilevel b. order c.
unordered d. general e.
cascading

2. Image maps are of two 2 b,d


types _______ and
_________.
a. Network Side b. Client
side
c. Computer side
d.Server Side
e. n- computing
3. A CSS rule contains 3.b,d
________ and __________.
a. Set b. selector c. post d.
declaration
e. block
4 Client-side image map can 4.c,d
be created using two elements
_________ and ________.
a. <area> b.<image> c.
<usemap> d.<map>
e.<server>
Q.5 Choose Three correct 1.a,c,e
answers from the given
options.
1. Attributes of <area tag are
____________
a. Href b. src c. coords
d. data e. alt f. usemap
2.Attributes used with iframe 2.b,d,e
are ____________

a. Srcdoc b.name c.att d. src


e. href f. loop
3.Following are the Form 3.a,b,e
controls
_____________.
a. Email b. search c. label
d. video e.tel f.audio
4. Attributes used with 4.a,c,e
<audio>tag
a. autoplay b.href
c.controls c.. cntrl e.
loop f. bgsound
5. CSS types are ________, 5.a,b,d
____________ and
___________.
a. Internal b.external c.
control d. inline e.loop
f.style
6. Positioning types in CSSS 6.a,b,e
are _________
a. Static b. fixed c. absolute
d. position e. dynamic
f.nested
7. Types of floating 7.a,c,e
properties are
__________
a. Left b.zero c. right d. all e.
none f.dock
Q.6 Match the pair
1.<ul> a. Client side image 1. c
map 2. a
2. usemap b.CSS property 3. b
3. color c. bulleted list 4. e
4.<img> d. Image as a 5. d
submit button
5.<input type = image> e.
inserts an image
Q.7 Programs
1. 1.Write a program using HTML with
following CSS specifications.
1. The background colour of the company
name should be in green.
2.The text color of the company name should
be red.
3. The heading should be large with font
“Comic Sans Ms”
4. The description of the company should be
displayed in blue color in a paragraph

Solu <!DOCTYPE html>


tion <html>
<head><title>7.1 TB</title>
<style>
h1{background-color:green;color:red;font-
family:comic sans ms}
p{color:blue;font-size:58px}
</style>
</head>
<body>
<h1 align = "center"> SIEMENS
COMPANY</h1>
<p>With a focus on electrification,
automation and digitalization, Siemens India
stands for engineering excellence, innovation,
and reliability. As one of the world’s biggest
producers of energy-efficient, resource-saving
technologies, Siemens is a pioneer in
infrastructure and energy solutions,
automation and software for industry and is a
leader in medical diagnosis. Siemens also
provides business-to-business financial
solutions, rail automation and wind power
solutions.</p>
</body></html>
2. Write HTml5 code with CSS as follows-
1.To create form to accept name ,age
email,address from the user.
2. Create a submit button to send the data.
3. The heading of the form should have a
background colour and different font style.
Solu
tion <!DOCTYPE html>
<html>
<head><title>7.2 TB</title>
<style>
h1{background-color:green;color:red;font-family:Algerian}

</style>
</head>
<body>
<h1 align = "center"> USER DETAILS</h1>
<form name = "f1">
<p>Enter User Name <input type = "text" value = "User001" name = "t1" required>

Enter Age <input type = "number" id = "n1" name = "n1" min = "1" max = "100"
required> <br>
Enter User's EMAIL ID <input type = "email"
pattern = "[email protected]" size = "30" required><br>
Address <textarea rows = "5" cols = "20"></textarea></br>
<input type = "submit"></p>
</form>

</body></html>
3.
Write HTML5 code with CSS as follows.-

1. Create ordered list with names of tourist


cities
2. Create unordered list with tourist places
of those cities.
3. Divide the list into two sections left and
right by using CSS.
Solu <!DOCTYPE html>
tion
<html>
<head><title>7.3 TB</title>
<style>
section1{background-
color:lightyellow;width:50%;height:20%;floa
t:left;}
section2{background-
color:violet;width:50%;height:20%;float:righ
t;}

</style>
</head>
<body>
<h1 align = "center"> Kesari Tours and
Travels</h1>
<section1>
<ol>

<li>Nasik</li>
<li>Mumbai</li>
</ol>
</section1>

<section2>
<ul>
<li>Kala Ram Mandir</li>
<li>Panchavti</li>
<li>Tryambakeshwar</li>

<li>Taraporewala Aquarium</li>
<li>Hanging Garden</li>
<li>Jahangir Art Gallery</li>
</ul>

</section2>

</body></html>

You might also like