Pageviews

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>