WEB BROWSERS TECHNOLOGY
WHAT IS WEB TECHNOLOGY
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
In a CSS rule, styling information is contained in the
|
selector
|
|
declaration
|
|
class
|
|
id
|
Explanation:
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’. The declaration has two parts: property name (’color’) and property value (’red’).
Detailed explanation-2: -The CSS declaration block is the lines between the curly braces.
Detailed explanation-3: -An inline CSS is used to apply a unique style to a single HTML element. An inline CSS uses the style attribute of an HTML element.
There is 1 question to complete.