Q.1. Write HTML code to display an ordered list (with uppercase roman number) listing any three subjects being taught in your school. The web page should have a red background and the title of the page should be “My Subjects.“ (2 Marks)
Q.2. What are the attributes of video tag? (2 Marks)
Q.3. Write HTML code to display the unordered list (with square bullets) of two cities “DELHI“ and “MUMBAI“. The web page should have a yellow background and the title of the page should be My Cities. (2 Marks)
Q.4. How to insert video in a webpage? (2 Marks)
Q.5. Name the following with respect to HTML: (2 Marks)
(a) Attribute for changing bullet type of list tag.
(b) Element to create a hyperlink
Ans: (a) type attribute
(b) <A> tag
Q.6. Shahnawaz has to create following list through HTML as a part of his social science project. Help him in writing HTML code for the same. (2 Marks)
Q.7. How will you nest an unordered list inside an ordered list? (2 Marks)
Q.8. How do we insert audio in an HTML file? (2 Marks)
Q.9. Write the HTML code to create the following indentation effect: Apple pie,
all begin with an A. (2 Marks)
Q.10. What are the attributes of audio tag? (2 Marks)
Q.11. Use a definition list to show that the word “glunch” means “a look of disdain, anger, or displeasure” and that the word “glumpy” means “sullen, morose, or sulky.” (2 Marks)
Q.12. Write HTML code for the following: To provide hyperlink to a website “http://www. cbse.nic.in’’ (2 Marks)
Q.13. What are definition lists? (2 Marks)
Ans: Definition lists (<dl>) are the list elements that have an array of tags. The list prepared by <dl> tag is similar to a dictionary. The other tags used with this are <dt> to define the definition term and the <dd> for the definition of the list item.
Q.14. Which three tags are used to create definition lists? (2 Marks)
Ans: 1. <dl> (Definition List)
2. <dt> (Definition Term)
3. <dd> (Definition Description)
Q.15. How will you create email link? (2 Marks)
Ans: We can create an e-mail link on web page. The browser will read an e-mail link, using the value starting with "mailto:" rather than http://, with an e-mail address rather than a web address. The syntax is given below:
emailaccountname.com">E-mail the username</A>
Q.16. Jennifer wants to write html code to create an ordered list starting with “c”. Help her in writing the code. (2 Marks)
Ans. <ol type= “a” start=“3‘‘>
Q.17. What are nested lists? (2 Marks)
Ans: Lists can be nested or placed inside one another.
Q.18. Shambhavi has to design two web pages with following specifications: (2 Marks)
(i) One web page should have an unordered list.
(ii) Another web page should have background "Yellow" in colour.
Suggest her suitable tag(s) and attribute(s) for the above specifications.
Ans: (i) <UL> <LI>
(ii) <body> tae and becolor attribute
Q.19. Create an ordered list of the name of the subjects you study in school. (2 Marks)
Q.20. Explain unordered list. (2 Marks)
Ans: Unordered list classifies the data items that have equal importance i.e. none of the data items are ranked. They are identified by a symbol. It may be a □ square, a O circle or a • disc. The attribute TYPE helps in using the symbols to create a list. This attribute takes the value as the name of the symbol.
This is a container tag. It has both the opening and the closing tag. The listing is created under it using the <li> tag. Again <li> tag is a container tag. The data item to be listed is input between the opening <li> and the closing </li> tag as shown in the following example:
Q.21. Write a short note on ordered list. (2 Marks)
Ans: Ordered list classifies the data items that do not have equal importance. All the data items are ranked. The ranking can be done using the numbers, the roman letter or alphabets. The default symbol is number. In case you want to change to other symbols of ordered list, you can use the attribute.
The attributes used with this tag are given in the table below: