Page 165 - CA_165_V2.0_Flipbook
P. 165
Previous Years’s Questions 8. Write the HTML code to design a Web page as shown below: [CBSE, 2022]
Roll Number Name Marks Class Average
1. Ayesha has shot some videos. She wants to create a webpage so as to share her creations with her followers
across the world. [CBSE 2024] 1 Amit 95
Help Ayesha to embed her video file in the web page with the following specifications : 2 Angel 96 96
● The name of video file is Ayeshahits.mp4.
Teacher Mr. Hamid
● The video should play in a window of width 350 pixels and height 250 pixels.
Consider the specifications as given below. Students can Write the code for any 4 specifications out of the given
● The video controls such as Play, Pause and Volume should be visible.
5 specifications.
2. Write the HTML code to design a Student’s Data input form as shown below: [CBSE 2024]
Specification-1: Use CSS to set the following for the entire body :
● Text color of the entire page as Tomato.
● Background color of the entire page as Light blue.
● Font-family as Helvetica.
Specification-2: The ·value of the table border attribute should be 1. Table header tag should be used wherever
required.
Specification-3: The table should exactly contain 4 rows and 4 columns. The data ih each cell should be as shown
in the above table.
3. The following input elements should be included in the form: [CBSE 2024] Specification-4: Attribute rowspan should be used wherever required.
● A textbox to enter student’s name. Specification-5: Attribute colspan should be used wherever required.
● A checkbox to allow the student to subscribe to a newsletter.
● Radio buttons to select the gender. The buttons should be grouped with individual values as Male, Female,
Other.
● A list box (select dropdown) to choose the country. The available options are USA, Canada, UK and
Australia.
4. Observe the screenshot of the following content in a webpage and write the HTML code to generate the
desired output. [CBSE 2024]
Note: The table border size should be 1.
5. How can we embed audio in an HTML document ? Give an example to support your answer. [CBSE 2023]
6. Illustrate the use of the radio button input type on an HTML form with an appropriate code and the corresponding
output. [CBSE 2023]
7. Which of the following is not an attribute of <img> tag in HTML? [CBSE 2023]
(a) source (b) width
(c) alt (d) color
More About HTML 163

