Textbook Solution Chapter 1 Advanced Web Desgining (IT HSC)


Q 1. Fill in the blanks.

  1.  The………………element is a staring element in an HTML, it indicates that document type definition being used by the document.

Answer :  <!DOCType>

        2  .The……………. is a tag in html that describe some aspects of contents of a webpage.

Answer : Meta Tag

        3.  The <ol> tag defines an………………

Answer : Ordered List

        4.  An unordered list created using the.................tag

Answer : <ul>

        5.  The....................... element creates an inline frame.

Answer : <iframe>

        6.  ......................tag is used to specify video on an HTML document.

Answer:  <video>

        7. If a web developer wants to add the description to an image he must use ……… attribute of  <img> tag.

Answer : alt

        8.  The……………… property is used to set position for an element

Answer : Position

        9.  The float property defines the ...............of content.

Answer : Flow

       10.   ………………is used with elements that overlap with each other.

Answer : Absolute position

 

Q2.  State whether the following statement is True or False

1)  HTML is an Object Oriented Programming Language

Answer :  FALSE

2)  Charset is used for character encoding declaration.

Answer :  TRUE

3)  An  unordered  list can be numerical or alphabetical

Answer :  FALSE

4) Multilevel list can be created in HTML 5.

Answer :  TRUE

5)  Srccode   specifies    the   HTML content of the page to show in the  <iframe>

Answer :  TRUE

6)  The ‘controls’ attribute is not used to add play, pause, and volume.

Answer :  FALSE

7)  cs is the extension of CSS file

Answer :  FALSE

 

Q3.   Choose   Single   correct    answer from the given options.

1)  ………………….element    used to create a linking image

Option : 

a) <img>           b)  <td>

c)  <map>          d)  <usemap>

Answer :  d)  <usemap>

 

2)  The ……………tag is used to embed audio files on Webpages.

Option :

a) <sound>        b) <audio>

c)  <video>        d) <embeded>

Answer :    b) <audio>

 

3)  A programmer wants to define range for age between 18 to 50, he will use a form with following appropriate control.

Option :

a) number          b) compare

c) range               d) Textboxes

Answer :  c) range 

 

4) ......……….character  is used to create id in CSS.

Option :

a) %                  b) $

c)  @                 d) #

Answer :  d) #

 

Q4.  Choose Two correct answers from the given options. 

1)  List within another list either………list or………list is called nested list.

Option : 

a) multilevel          b) order

c) unordered          d) general

e) cascading

Answer :   b) order,  c) unordered

 

2)  Image maps are of two types ……...........and …………..........

Option : 

a) Network side       b) Client Side

c) Computer Side    d) Server Side

e) n-compting

Answer :   b) Client Side,  d) Server Side

 

3)  A CSS rule set contains……….. and……………………...............

Option : 

a) Set      b) Selector

c) post    d) Declaration

e) block

Answer :   b) Selector,  d) Declaration

 

4)  Client-side image map can be created  using  two  elements …………… and………...

Option : 

a) <area>       b) <image>

c) <usemap>  d) <map>

e) <server>

Answer :   a) <area>,   d) <map>

 

Q5.  Choose  Three   correct answers from the given options

1)  Attributes     of     <area>      tag is……………………..

Option : 

a) href                    b) src

c) coords                d)  data

e) alt                      f) usemap

Answer :   a) href , c) coords , e) alt  

 

2)  Attributes    used    with    iframe are………………..

Option : 

a) srcdoc                b) name

c) att                      d) src

e) href                    f) loop

Answer :   a) srcdoc  ,b) name,    f) loop

 

3)  Following are the Form controls……………

Option : 

a) email                b) search

c) label                    d) video

e) tel                      f) audio

Answer :   a) email  ,b) search,    f) tel

 

4)  Attributes   used   with   <audio> tag…………………………..

Option : 

a) autoplay             b) href

c) controls              d) cntrl

e) loop                   f) bgsound

Answer :   a) autoplay  ,c) controls ,    e) loop

 

5)  CSS types are  ………...... and…………………

Option : 

a) internal              b) external

c) control               d) inline

e) loop                   f) style

Answer :   a) internal , b) external,    d) inline

 

6)  Positioning     types     in     CSS are……………………

Option : 

a) Static                 b) fixed

c) absolute                d)position

e) dynamic              f) nested

Answer :   a) Static ,      b) fixed,     c) absolute 

 

7)  Types   of   floating   properties are………,…………, …………..

Option : 

a) left                     b) zero

c) right                   d) all

e) none                  f) dock

Answer :   a) left ,            b) zero,        c) right 

 

Q. 6. Match the pair

Answer: - 

<ul>                            ======> bulleted list

usemap                       ======> Client     side image map

color                            ======> CSS Property

<img>                          ======> inserts an image

<Input type =image> ======> Image as a submit button

 

Q7.  Question 7 is practical question, click on link to see :   Practical Question 7