Frames, Forms & CSS: Short Answer Type Questions Class 10 Notes | EduRev

Computer Application: Class 10

Class 10 : Frames, Forms & CSS: Short Answer Type Questions Class 10 Notes | EduRev

The document Frames, Forms & CSS: Short Answer Type Questions Class 10 Notes | EduRev is a part of the Class 10 Course Computer Application: Class 10.
All you need of Class 10 at this link: Class 10

Q.1. Explain how would we  embedded style in your HTML.   (2 Marks)
Ans:
There are three ways to apply CSS to an HTML document. By Inline, Internal or using External style sheet in HTML page.

Q.2. Give an example of linking CSS with HTML.   (2 Marks)
Ans:

Frames, Forms & CSS: Short Answer Type Questions Class 10 Notes | EduRev

Q.3. What do you mean by font-variant? Give example of each.   (2 Marks)
Ans: 
The Font-variant property is used to select normal or small-caps variants of a font.
Frames, Forms & CSS: Short Answer Type Questions Class 10 Notes | EduRev

Q.4. Form a CSS code with in the <head>..</head> for the following specifications:
Backgound colour : blue   (2 Marks)
For the the paragraph,
Font family is Dotum and colour of the text is red
Heading should be black colour.
Ans:

Frames, Forms & CSS: Short Answer Type Questions Class 10 Notes | EduRev

Q.5. Explain font-weight.   (2 Marks)
Ans: 
Font-weight property describes how bold or “heavy" a font should be presented. A font can either be normal or bold. Some browsers support the use of numbers between 100-900[in hundreds] to describe the weight of a font.

Q.6. How can we use CSS with HTML document?   (2 Marks)
Ans:
To link an HTML document with a stylesheet, perform the following steps: 
(i) Create an HTML document and save it as a file with the .html extension.
(ii) Create a separate CSS stylesheet and save it as a file with the .css extension.
(iii) Link both the files using following code: 
<link rel = “stylesheet” type = “text/css” href=”test.css”/>

Q.7. How many types of text alignments can be included in a CSS page.   (2 Marks)
Ans: 
There are three types of text alignments can be included in a CSS page. The text can either be aligned to the left, to the right or center of the screen.

Q.8. How can we set the image as background property?   (2 Marks)
Ans: 
The background-image property specifies an image to use as the background of an element. By default, the image is repeated so it covers the entire element. The background can be set as body { background-image: url(‘scene1.gif’);}

Q.9. How the text in a webpage can be capitalized using CSS properties?   (2 Marks)
Ans: 
The text-transform property controls the capitalization of a text. We can choose to capitalize effects to be applied on text in the HTML code.

Q.10. Explain the CSS properties to set the foreground and background color of the webpages.   (2 Marks)
Ans: 
Color property is used to set the foreground colour while background-color property is used to set background color of the webpages.

Q.11. Why stylesheets are used?   (2 Marks)
Ans:
The main use of CSS is to improve HTML pages be decorating them, and displaying them in a better way than they would normally do. They simplify the web creator work by using one CSS stylesheet for more than one document.

Q.12. Explain CSS with reference to DHTML.   (2 Marks)
Ans:
CSS is a style sheet language used for describing the look and formatting of a document written in a markup language. It is a way to provide style to HTML. Whereas the HTML is the meaning or content, the style sheet is the presentation of that document. DHTML is merely a browser feature- or enhancement that gives your browser the ability to be dynamic.

Q.13. List some advantages and disadvantages of CSS.   (2 Marks)
Ans: 
Advantages of CSS are:
1. It controls layout of many documents from one single style sheet.
2. It has more precise control of layout.
3. It applies different layouts to different media-types.
4. It has numerous advanced and sophisticated techniques to be applied on web pages.
Disadvantage of CSS are:
1. CSS is very limited in browser compatibility.
2. When you design a web page and you want it to display exactly as you like it. The problem with CSS is that it displays webpages very different in the different browsers.

Offer running on EduRev: Apply code STAYHOME200 to get INR 200 off on our premium plan EduRev Infinity!

Related Searches

video lectures

,

Free

,

past year papers

,

Sample Paper

,

Semester Notes

,

Frames

,

Objective type Questions

,

ppt

,

practice quizzes

,

MCQs

,

Forms & CSS: Short Answer Type Questions Class 10 Notes | EduRev

,

pdf

,

Viva Questions

,

shortcuts and tricks

,

mock tests for examination

,

Summary

,

study material

,

Frames

,

Important questions

,

Previous Year Questions with Solutions

,

Forms & CSS: Short Answer Type Questions Class 10 Notes | EduRev

,

Exam

,

Forms & CSS: Short Answer Type Questions Class 10 Notes | EduRev

,

Extra Questions

,

Frames

;