+1 and +2 Computer Science

Previous Question paper answered , and Questions from Textbook

+1 and +2 Computer Application

Previous Question paper answered , and Questions from Textbook

Diploma in Computer Application (DCA)

Previous Question paper answered , and Questions from Textbook.

Master of Computer Applications (MCA)

Previous Question paper answered , and Questions from Textbook

True IQ Computer Online Academy

Contact : +91 9036433020 , mail2trueiq@gmail.com

Pageviews

Showing posts with label Web Designing Using HTML. Show all posts
Showing posts with label Web Designing Using HTML. Show all posts

Monday, 22 July 2019

+2] 5. Web Designing Using HTML - Solved Questions from textbook


                    Chapter 5. Web Designing Using HTML

( +2 Computer Application / Computer Science , 
Text book Questions and Answers)


1. What are the different types of lists in HTML?

Ordered list,Unordered list, Definition list and Nested list

 2. Suppose your teacher asks you to display the list of students in your class using HTML document. Which type of list will you prefer? Why? 

Ordered list. Ordered lists present the items in some numerical or alphabetical order. The ordered list is also called numbered list. Ordered lists or numbered lists are used to display a list of items that need to be placed in a specific order.

3. What are the common attributes of<UL> and <OL>tags?

Type attribute is the common tag in <OL>and <UL>

 4. What is the difference between <UL> and <OL> tags?

     Unordered lists or bulleted lists display a bullet or other graphic in front of each item in the list. We can create an unordered list with the tag pair <UL> and </UL>

Ordered lists present the items in some numerical or alphabetical order. The ordered list is also called numbered list. HTML provides the tag pair<OL> and </OL> to create an ordered list

 5. Name the tags used in the definition list

The tag pair <DL> and </DL> enclose the definition lists. Each term in the list is created using the






<DT> tag and the <DD>  tag supplies the definition of the term. 

6. Name any two associated tags of <table>  tag. 

<TR> and <TH> tags


7. Choose the odd one out:

 a. TABLE

 b. TR

 c. TH 

d. COLSPAN

Ans d

 8. Differentiate between <TD> and <TH>

 <TH>  tag is used to define heading cells. It is also a container tag. The heading data should be enclosed between<TH> and </TH>tags.The heading cells are displayed in bold face and in centered form.

 The rows in a table are created using <TR>  tag. It is a container tag. The whole row is enclosed within the tag pair </TR> and </TR>. A <TR>tag always comes inside the <TABLE>  tag. A row itself is a collection of cells. A cell is the smallest component of a table. There are two types of cells - heading cells and data cells

9. <TABLE> tag is empty tag.state whether the statement is true or false

False. <TABLE> tag is a container tag. The whole content of the table should be enclosed within the tag pair <TABLE> and </TABLE>.


10. Give any two attributes of <TR> tag

Align,Valign and Bgcolor.

11. <FRAMESET ROWS = "100,*"> devides the frame into ----------sections

    2

12. List any three attributes of <FRAME>  tag. 

The main attributes of <FRAME> tag are Src,Scrolling,Noresize

13. What is nested frameset? 

 Inserting a frameset within another frameset is called nesting of frameset. 

14. What is the use of <NOFRAME> tag? 

Earlier browsers did not support frames. In such a situation, the browser is expected to respond to the user in some way or the other. The tag pair<NOFRAMES> and </NOFRAMES>  and is used to display some text content in the window if the browser is unable to support frames.


15. No <BODY>section is needed for frameset page. Say TRUE or FALSE.

TRUE

16. HTML provides _______ to input data through web pages. 

Form

17. Name the two tags used within <FORM> to enter text data.

Action and Method 

18. How do radio button control and check box control differ?

 Radio buttons are used to specify only one option from a set of alternatives, and that check boxes are used to mark one or more items in a given list.

 19. Which tag is used to group data within the Form?

   <FIELDSET> tag

20. Name the tag used within <FORM>  to input data.
      <INPUT>tag

21. Action and ________ are the main attributes of the <FORM> tag.

Ans.  Method

22. Differentiate between Text control and Textarea control used in Form.

     The <INPUT> tag is an empty tag that can be used to make different types of controls such as Text Box, Radio Button, Submit Button etc. The Type attribute determines the type of control created by this tag. Text is a value of Type attribute that creates the text box.

   There areoccasions where we need to enter multiple lines of text in a Form. Postal address is
an example. The container tag <TEXTAREA> can be used for this purpose. The area between the tag pair gives space for multi line text depending on the values given to the attributes.

23. Shahir wants to connect his webpage to www.gmail.com. Write the tag and attribute required for this
 Ans. <A> tag and href attribute

24. Sunil developed a personal website, in which he has to create an e-mail link. Can you suggest the protocol used to achieve this link.

<a href=mailto:<nowiki>agentavery@sample.com?subject="HTML link">Click here to send us an email!!!</a>


     



Thursday, 18 July 2019

+2] 5. Web Designing Using HTML - Previous Questions Chapter wise



PLUS TWO COMPUTER APPLICATION

(+2 Computer Application / Computer Science , 
Previous Questions Chapter wise ..

                                           Chapter  5. Web Designing Using HTML



1.Consider the following list created using HTML.

D.Laptop

E.Desktop

F.PRINTER


. What will be the value of START and TYPE attribute of <OL> tag ?

(a)START=”D” TYPE=”A”

(b)START=”4” TYPE=”A”

(c)START=”4” TYPE=”I”

(d)START=”D” TYPE=”I” 

Ans. a   


2.Explain the HTML tag <table> and its attributes.

<Table> tag is used to create a table in a web page. tag is used to create Table rows ,
tag is used to insert heading cells and is used to insert table data in a table.
 The attributes of tag are: 

a).BORDER - specifies the thickness of the table border. If there is no border or border value =0 then the table has no border.

 b). BORDERCOLOR -specifies the boarder color of the table.

 c). ALIGN -To align the table in the browser window. Its values are left, right and center.

 d). BGCOLR - To give background colour to the table. 

 e). CELLSPACING - Specifies the space between table cells. 

 f). CELLPADDING - Specifies the space between cell border and the content.

 g). COLS - Specifies the number of columns in the table. 

 h). WIDTH and HEIGHT- Specifies the table width and height in terms of pixel or % value.

 i). FRAME- Specifies the border line around the table.


3. Nila wanted to set the picture “sky.jpg” as the background of his web page.  Choose the tag for doing this. 

(a) <IMG SRC=”Sky.jpg” >
 (b) <BODY SRC=”sky.jpg” >

(c) <IMG BACKGROUND=”sky,jpg” >

(d) <BODY BACKGROUND =”sky.jpg” >

Ans d

4………… attribute of <frame > tag is used to prevent users from resizing      the border of a specific frame by dragging it . 

(a) Scrolling

(b) No resize

 (c) margin width

(d) margin height

Ans. b

5.Explain <OL> tag with suitable example.

1). Type: It indicate the numbering type for the list items.

 Its values are,

 I). Type=1 for default numbering scheme

 II). Type =i for small Roman Numbers

 III). Type= I for large Roman Numbers

 IV). Type=a for lower case letters

 V). Type=A for upper case letters

 2). Start: It specifies the starting number for the list items  

Example:

A. Input Devices

1. Key Board
 2. Mouse
  3.Scanner.

<HTML>
<HEAD>
<OL TYPE='A'>
<LI > Input Devices</LI>
OL TYPE=1>
<LI > KeyBoard </LI>
<LI > Mouse </LI>
<LI> Scanner </LI>
</OL>
</HEAD>
</HTML>

6. Write the complete HTML tag that links the text “PSC” to the website www.keralapsc.org

 Ans: < A HREF = www.keralapsc.org > PSC </A>

7.  Explain nesting of frameset with an example.

Inserting a frameset within another frameset is called nesting of frameset.
   
                                           Frame 1
         
                         Frame 2                     Frame 3


Eg. <Frameset rows="40,*">

       <Frame Src=Sample1.html>

        <Frameset  cols="60,*">

         <Frameset Src=Sample2.html>

          <Frameset Src=Sample3.html>

</Frameset>

</Frameset>

9. . ……………….. tag in HTML is used to create a drop down list.

 a) Select

 b). Option

c). Input

 d). List

Ans: a

10.  Write HTML code for the following Table

                                          No of Students
                 
                                   Science              55
 
                               Commerce            60

                               Humanities           58

<html>

<head>

<H1> TABLE</H1>

</head>

<Body Bgcolor=Green>

<Table border =1 width=25>

<TR>

<TD Colspan=2 Align=Center>No.of  Students</TD>

<TR>
<TD

11.Explain cellspacing and cellpadding.

 Cellspacing - Specifies the space between table cells.

  Cellpadding - Specifies the space between cell border and the content.

12.Name the following tags

a) To include a button in HTML----<INPUT>

b) To partition the browser window.......<FRAMESET>

13. Write the use of the following in HTML

a) <A Href="https:/www.DHSEKERALA.gov.in>DHSE</A>

b) <EMBED Src=song1.mp3> </EMBED>

Ans a) A Hyperlink is an element like text or image on a webpage which help us to move to another document or section of the same web page by clicking on it. <A>tag is used for it. HREF is its main attribute and its values is the URL of the document to be linked. 

b)  EMBED tag is used to add music or video to a web page. This tag includes multimedia controls in web page.

14. Name the tag and attributes needed to creating the following list in HTML
a)
1 RAM                 

2 ROM

3 HARDDISK

b)

  • REGISTERS
  • CACHE
  •   RAM
Ans. a) OL tag.Attributes are type and start

         b) UL tag.Attribute is type.

15. Name the three essential tags for creating a table in HTML.Write the purpose of each tag?

 <TR> tag is used to define a row in the table.

 Its attributes are 
 Align, valign (vertical align), BgColor etc.

<TD> or <TH> tags are used to define cells in a row.<TH>  is used to define heading cells. attributes of<TD>  and <TH>tags are,

 a). ALIGN- Specifies the horizontal alignment of the cell content. Values are Left, Right, Center and Justify 

b). VALIGN- Specifies the vertical alignment of the cell content of a row. Values are Top, Middle, Baseline and Bottom

 c). BGCOLOR- Specifies the background colour for a row. 

<TD>or<TH>  tags are used to define cells in a table row,<TH>  tag is used to insert heading cells and <TD>is used to insert cell data.
 Some attributes of <TD>and<TH>  are,

 a). ALIGN- Specifies the horizontal alignment of the cell content. Values are Left, Right, Center and Justify 

 b). VALIGN- Specifies the vertical alignment of the cell content. Values are Top, Middle, Baseline and Bottom

 c). BGCOLOR- Specifies the background colour for a cell.

 d). COLSPAN- used to stretch a cell over a number of columns. Default value is 1 

 eg. (TD ColSpan=3) 

 e). ROWSPAN- used to stretch a cell over a number of Rows. Default value is 1 

 eg. (TD RowSpan=3)