WEB BROWSERS TECHNOLOGY
WHAT IS WEB TECHNOLOGY
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
cascade theory
|
|
inheritance theory
|
|
descendant theory
|
|
specificity theory
|
Detailed explanation-1: -In CSS, styles sheets cascade by order of importance. If rules in different style sheets conflict with one another, the rule from the most important style sheet wins.
Detailed explanation-2: -Cascading Order Priority 1: Inline styles. Priority 2: External and internal style sheets. Priority 3: Browser default. If different styles are defined on the same priority level, the last one has the highest priority.
Detailed explanation-3: -The cascade is an algorithm that defines how user agents combine property values originating from different sources. The cascade defines the origin and layer that takes precedence when declarations in more than one origin or cascade layer set a value for a property on an element.
Detailed explanation-4: -An internal CSS is used to define a style for a single HTML page. An internal CSS is defined in the <head> section of an HTML page, within a <style> element.