Class 10 Exam  >  Class 10 Notes  >  Computer Application: Class 10  >  HTML Advanced: Short Answer Type Questions

HTML Advanced: Short Answer Type Questions | Computer Application: Class 10 PDF Download

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)
Ans:

HTML Advanced: Short Answer Type Questions | Computer Application: Class 10

Q.2. What are the attributes of video tag?   (2 Marks)
Ans:

HTML Advanced: Short Answer Type Questions | Computer Application: Class 10

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)
Ans:

HTML Advanced: Short Answer Type Questions | Computer Application: Class 10

Q.4. How to insert video in a webpage?   (2 Marks)
Ans:

HTML Advanced: Short Answer Type Questions | Computer Application: Class 10

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)
HTML Advanced: Short Answer Type Questions | Computer Application: Class 10
Ans:

HTML Advanced: Short Answer Type Questions | Computer Application: Class 10
HTML Advanced: Short Answer Type Questions | Computer Application: Class 10

Q.7. How will you nest an unordered list inside an ordered list?   (2 Marks)
Ans:

HTML Advanced: Short Answer Type Questions | Computer Application: Class 10

Q.8. How do we insert audio in an HTML file?   (2 Marks)
Ans:

HTML Advanced: Short Answer Type Questions | Computer Application: Class 10

Q.9. Write the HTML code to create the following indentation effect: Apple pie,
pudding,
and pancake,
all begin with an A.   (2 Marks)
Ans:

HTML Advanced: Short Answer Type Questions | Computer Application: Class 10

Q.10. What are the attributes of audio tag?   (2 Marks)
Ans:
HTML Advanced: Short Answer Type Questions | Computer Application: Class 10

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)
Ans:

HTML Advanced: Short Answer Type Questions | Computer Application: Class 10

Q.12. Write HTML code for the following: To provide hyperlink to a website “http://www. cbse.nic.in’’   (2 Marks)
Ans:

HTML Advanced: Short Answer Type Questions | Computer Application: Class 10

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.
HTML Advanced: Short Answer Type Questions | Computer Application: Class 10

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:
<A HREF="mailto:yourusername@
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.
Example:
HTML Advanced: Short Answer Type Questions | Computer Application: Class 10

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)
Ans:

HTML Advanced: Short Answer Type Questions | Computer Application: Class 10

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.
<ul type="square">
<ul type="disc">
<ul type="circle">
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:
HTML Advanced: Short Answer Type Questions | Computer Application: Class 10

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:
HTML Advanced: Short Answer Type Questions | Computer Application: Class 10

The document HTML Advanced: Short Answer Type Questions | Computer Application: Class 10 is a part of the Class 10 Course Computer Application: Class 10.
All you need of Class 10 at this link: Class 10
11 videos|49 docs|18 tests

Top Courses for Class 10

FAQs on HTML Advanced: Short Answer Type Questions - Computer Application: Class 10

1. What are some advanced HTML concepts that can be included in the Class 10 exam?
Ans. Some advanced HTML concepts that can be included in the Class 10 exam are: - Form validation using JavaScript: This involves using JavaScript to validate user input in HTML forms before the form is submitted. - CSS media queries: These allow for responsive design by applying different CSS styles based on the size and capabilities of the device being used. - HTML5 canvas: This feature allows for drawing graphics and animations directly in the browser using JavaScript. - HTML5 audio and video: These elements allow for embedding and playing audio and video files directly in the browser without the need for plugins. - Local storage and session storage: These are mechanisms provided by HTML5 to store data directly in the browser, allowing for persistent data storage between visits to a website.
2. How can form validation be implemented using JavaScript in HTML?
Ans. Form validation can be implemented using JavaScript in HTML by following these steps: 1. Create a JavaScript function that will be triggered when the form is submitted. 2. Inside the function, access the form element and its input fields using the `document.getElementById()` method. 3. Retrieve the values entered by the user in the input fields. 4. Write validation logic using conditional statements to check if the input values meet the required criteria. 5. If the validation fails, display an error message to the user using the `alert()` method or by modifying a specific element on the page. 6. If the validation passes, allow the form to be submitted.
3. How can responsive design be achieved using CSS media queries in HTML?
Ans. Responsive design can be achieved using CSS media queries in HTML by following these steps: 1. Use the `@media` rule in CSS to define different styles for different media types or devices. 2. Specify the media type or device using media queries, such as `screen`, `print`, `speech`, or specific device sizes. 3. Within the media query block, write the CSS styles that should be applied when the specified media type or device is used. 4. Use CSS properties like `width`, `min-width`, `max-width`, `height`, `min-height`, `max-height`, etc., to define the dimensions and other styles for different screen sizes or devices. 5. Test the responsive design by resizing the browser window or using different devices to ensure that the styles are applied correctly.
4. What are the HTML5 canvas and its usage?
Ans. The HTML5 canvas is a feature that allows for drawing graphics and animations directly in the browser using JavaScript. It provides a drawing surface on which you can programatically draw shapes, lines, text, images, and more. The usage of HTML5 canvas includes: 1. Drawing shapes: You can use the canvas API to draw various shapes like rectangles, circles, arcs, lines, polygons, etc. 2. Drawing images: The canvas allows you to draw images onto the canvas, which can be useful for creating image galleries or displaying dynamic images. 3. Animations: With the canvas, you can create animations by continuously redrawing the canvas with different shapes or images at specific intervals. 4. Interactive elements: The canvas can be used to create interactive elements like games or graphs, where user input triggers changes in the canvas. 5. Data visualization: The canvas is often used for creating data visualizations like charts or graphs, where data can be represented in a visual format.
5. How can HTML5 audio and video elements be used to embed media in a webpage?
Ans. HTML5 audio and video elements can be used to embed media in a webpage by following these steps: 1. Use the `<audio>` or `<video>` tag in HTML to define the audio or video element. 2. Specify the source of the audio or video using the `src` attribute within the opening tag of the element. 3. Set additional attributes like `controls` to display playback controls, `autoplay` to start playing the media automatically, and `loop` to loop the media playback. 4. Provide alternative sources using the `<source>` tag within the audio or video element to ensure compatibility with different browsers or file formats. 5. Include fallback content between the opening and closing tags of the audio or video element. This content will be displayed if the browser does not support the audio or video element. 6. Style the audio or video element using CSS to match the design of the webpage if desired. 7. Test the embedded media by loading the webpage in different browsers to ensure compatibility and functionality.
11 videos|49 docs|18 tests
Download as PDF
Explore Courses for Class 10 exam

Top Courses for Class 10

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

HTML Advanced: Short Answer Type Questions | Computer Application: Class 10

,

HTML Advanced: Short Answer Type Questions | Computer Application: Class 10

,

Summary

,

HTML Advanced: Short Answer Type Questions | Computer Application: Class 10

,

Previous Year Questions with Solutions

,

Free

,

ppt

,

Viva Questions

,

video lectures

,

Important questions

,

Objective type Questions

,

past year papers

,

practice quizzes

,

study material

,

shortcuts and tricks

,

pdf

,

Sample Paper

,

Extra Questions

,

MCQs

,

mock tests for examination

,

Semester Notes

,

Exam

;