Class 10 Exam  >  Class 10 Notes  >  Computer Application: Class 10  >  Frames, Forms & CSS: Short Answer Type Questions

Frames, Forms & CSS: Short Answer Type Questions | Computer Application: Class 10 PDF Download

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 | Computer Application: Class 10

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 | Computer Application: Class 10

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 | Computer Application: Class 10

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.

The document Frames, Forms & CSS: 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 Frames, Forms & CSS: Short Answer Type Questions - Computer Application: Class 10

1. What are frames in web development?
Ans. Frames in web development refer to a technique where a webpage is divided into multiple sections or frames, each containing a separate HTML document. These frames allow different parts of the webpage to be loaded independently, which can be useful for displaying content from different sources or for creating a consistent layout across multiple pages.
2. How do forms work in web development?
Ans. Forms in web development are used to collect data from users. They typically consist of various input fields, such as text boxes, checkboxes, and drop-down menus, that allow users to enter or select information. When a user submits a form, the data is sent to the server for processing, which can involve storing the data in a database or performing certain actions based on the submitted information.
3. What is CSS and why is it important in web development?
Ans. CSS stands for Cascading Style Sheets and is a language used to describe the look and formatting of a document written in HTML. It is important in web development as it allows developers to separate the structure and content of a webpage from its presentation. CSS provides a wide range of styling options, such as changing colors, fonts, and layout, which helps in creating visually appealing and consistent websites.
4. How can CSS be applied to HTML elements?
Ans. CSS can be applied to HTML elements in multiple ways. One way is by using inline styles, where CSS properties and values are directly added to the HTML elements using the "style" attribute. Another way is by using internal stylesheets, where CSS rules are placed within the "style" tags in the head section of an HTML document. Additionally, external stylesheets can be linked to HTML documents using the "link" tag, allowing the same CSS rules to be applied to multiple HTML pages.
5. Are frames still widely used in modern web development?
Ans. No, frames are not widely used in modern web development. Due to various limitations and drawbacks, frames have become less popular and are often replaced with more flexible and responsive techniques, such as using CSS for layout and utilizing modern web technologies like grid systems and flexbox. Frames can also negatively impact search engine optimization and accessibility, which further discourages their usage in modern web development practices.
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

Frames

,

mock tests for examination

,

Exam

,

Viva Questions

,

Frames

,

practice quizzes

,

Sample Paper

,

Summary

,

Objective type Questions

,

ppt

,

Forms & CSS: Short Answer Type Questions | Computer Application: Class 10

,

Semester Notes

,

Frames

,

shortcuts and tricks

,

video lectures

,

Forms & CSS: Short Answer Type Questions | Computer Application: Class 10

,

MCQs

,

Important questions

,

Forms & CSS: Short Answer Type Questions | Computer Application: Class 10

,

past year papers

,

study material

,

pdf

,

Extra Questions

,

Previous Year Questions with Solutions

,

Free

;