COMPUTER SCIENCE AND ENGINEERING
WEB TECHNOLOGY
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Declarations
|
|
Mood Board
|
|
Selector
|
|
CSS3
|
|
Web Host / Web Server
|
Detailed explanation-1: -A CSS rule consists of two main parts: selector (’h1’) and declaration (’color: red’). In HTML, element names are case-insensitive so ‘h1’ works just as well as ‘H1’.
Detailed explanation-2: -A CSS selector is the first part of a CSS Rule. It is a pattern of elements and other terms that tell the browser which HTML elements should be selected to have the CSS property values inside the rule applied to them.
Detailed explanation-3: -A selector group and an associated declarations block, together, are called a ruleset, or often a rule.
Detailed explanation-4: -Which of the following CSS selectors are used to specify a group of elements? Explanation: Class selectors are used to specify a group of elements. Id selector specifies a particular unique element.