Cascading Style Sheets and Java script — Flashcards
Gujarat Board · Class 12 · Computer Studies
35 flashcards for Cascading Style Sheets and Java script (Gujarat Board Class 12 Computer Studies) to test yourself on key terms and facts.
Interactive on Super Tutor
Studying Cascading Style Sheets and Java script? Get the full interactive chapter.
Quizzes, flashcards, AI doubt-solver and a step-by-step study plan — built for flashcards and more.
Free trial, no card needed.
What does CSS do on a web page?
Answer
CSS allows you to specify styles for the visual elements of a website. It keeps the content separate from the way the page looks, so the same content can be displayed with different styles.
Why should style and content be kept separate?
Answer
Keeping style separate from content avoids duplication in coding, allows the same content to be reused with different styles, and makes maintenance easier.
What is the general syntax of a CSS rule?
Answer
The general CSS rule syntax is: selector {property : value}. The selector is the HTML element, the property is the style attribute, and the value is the setting for that property.
What are the two main parts of a CSS rule?
Answer
A CSS rule has two main parts: a selector and one or more declarations. The selector is the HTML element to which the style is applied, and each declaration gives a property with its value.
What is a declaration in CSS?
Answer
A declaration consists of a property and its corresponding value. For example, in a rule, the property might be color and the value might be blue.
How does CSS help in website maintenance and speed?
Answer
CSS has less code than HTML because style is set once per element. This makes pages load faster and also makes changes easier because the designer can modify the style in one place.
What is one disadvantage of CSS?
Answer
A disadvantage of CSS is that browser compatibility varies. Some style features may not be supported in the same way in different browsers, although modern browsers are more standard-compliant.
What option in KompoZer helps use CSS by default?
Answer
Select the checkbox "Use CSS styles instead of HTML elements and attributes" if it is not selected. This makes KompoZer use CSS styling instead of HTML formatting.
+27 more flashcards
Practise AllFrequently Asked Questions
What are the important topics in Cascading Style Sheets and Java script for Gujarat Board Class 12 Computer Studies?
How many flashcards are available for Cascading Style Sheets and Java script?
Sources & Official References
Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.
More resources for Cascading Style Sheets and Java script
For serious students
Get the full Cascading Style Sheets and Java script chapter — start free.
Quizzes, flashcards, an AI doubt solver and a study plan for Gujarat Board Class 12 Computer Studies. Free to start, no card needed.