1.
What does CSS stands for?
Correct Answer
C. Cascading Style Sheets
Explanation
CSS stands for Cascading Style Sheets. This is a language used for describing the presentation of a document written in HTML or XML. It defines how elements should be displayed on a web page, including aspects such as layout, colors, fonts, and animations. The term "cascading" refers to the way styles are applied to elements, with multiple style sheets being able to be used and styles being able to cascade or override each other. Therefore, the correct answer is Cascading Style Sheets.
2.
CSS was proposed and developed by?
Correct Answer
A. HÃ¥kon Wium Lie and Bert Bos
Explanation
CSS (Cascading Style Sheets) was proposed and developed by HÃ¥kon Wium Lie and Bert Bos. They were both part of the team at CERN (European Organization for Nuclear Research) that was working on developing a standard for styling web documents. Lie, a web pioneer, and Bos, a computer scientist, collaborated to create CSS as a way to separate the presentation of a webpage from its structure. Their efforts revolutionized web design by providing a more efficient and flexible method for styling web content.
3.
What is the extension filename for CSS?
Correct Answer
A. .css
Explanation
The correct extension filename for CSS is ".css". This is the standard file extension used for Cascading Style Sheets, which are used to define the appearance and formatting of a document written in HTML or XML. By using the .css extension, web browsers can recognize and properly interpret the CSS code in order to apply the specified styles to the corresponding webpage.
4.
The release and introduction of CSS happened in what year?
Correct Answer
B. 1996
Explanation
CSS (Cascading Style Sheets) was first introduced in 1996 as a way to separate the presentation of a webpage from its structure. It revolutionized web design by allowing developers to easily control the layout, colors, fonts, and other visual aspects of a website. Prior to CSS, these styles were typically embedded directly into the HTML code, making it difficult to make global changes. The introduction of CSS greatly simplified the process of web design and has since become an essential tool for front-end developers.
5.
In CSS, what declares which part of the markup a style applies to by matching tags and attributes in the markup itself.
Correct Answer
A. Selector
Explanation
In CSS, a selector is used to declare which part of the markup a style applies to. It matches tags and attributes in the markup itself, allowing the style to be applied to specific elements. The selector specifies the elements that should be targeted and styled, enabling the developer to customize the appearance of those elements.
6.
CSS codes are mainly written in?
Correct Answer
C. HTML
Explanation
CSS codes are mainly written in HTML. HTML is the markup language used for structuring the content of a webpage, and CSS (Cascading Style Sheets) is used to define the visual appearance and layout of the HTML elements. CSS is embedded within HTML documents using the tag or can be linked externally using the tag. While C++, JavaScript, and C# are programming languages, they are not primarily used for writing CSS codes.
7.
CSS can be used in the creation of visually engaging webpages as well as
Correct Answer
C. User interface for web applications
Explanation
CSS, or Cascading Style Sheets, is a powerful tool used in web development to control the visual appearance of webpages. It allows developers to apply various styles, such as colors, fonts, layouts, and animations, to HTML elements. By using CSS, developers can create visually engaging webpages that are aesthetically pleasing and user-friendly. In the context of the given options, CSS can be used to create the user interface for web applications, allowing developers to design and customize the look and feel of the application's interface.
8.
What, in CSS is the process of creating intermediary frames among two images to provide the appearance that the first image develops efficiently into the second image.
Correct Answer
C. Tweening
Explanation
Tweening, short for "in-betweening", is the process in CSS of creating intermediary frames between two images. This technique is used to provide the appearance that the first image smoothly and gradually transitions or develops into the second image. Tweening is commonly used in animations and transitions to create fluid and visually appealing effects.
9.
What is the section of CSS where the property or value pairs appear.
Correct Answer
B. Declaration Block
Explanation
The declaration block is the section of CSS where the property or value pairs appear. It is enclosed within curly braces ({}) and contains one or more declarations. Each declaration consists of a property, followed by a colon (:), and then the corresponding value. The declaration block is used to define the styles and formatting for a specific selector or group of selectors.
10.
A general single line that appears between the curly braces, whether shorthand or longhand in CSS is known as?
Correct Answer
A. Declaration
Explanation
In CSS, a declaration is a single line that appears between the curly braces. It defines a specific style or property for a selector. Declarations consist of a property and a value, separated by a colon. The property determines what aspect of the element's style is being defined, while the value specifies the desired setting for that property. Therefore, the correct answer is "Declaration".