Css element selector instance and css selector instance
A complete HTML page consists of many different tags, and the tag selector determines which tags adopt the corresponding CSS style. This article introduces the css Tag/element selector and its examples to the coders. For more information about the coders, see.
[Tag selector]
The p label style declaration in the labels file is as follows:
P {font-size: 12px; background: #900; color: 090 ;}
[/Quote] the background of all p labels on the page is #900 (red), the text size is 12px, and the color is #090 (green), which is maintained in the future, if you want to change the background color of the p tag on the entire website, you only need to modify the background attribute. This is so easy!
Address: http://www.manongjc.com/article/836.html
Related reading:
CSS3 attribute Selector
Css property selector-select and modify an element based on the name attribute value of an html Element
Understanding of CSS selector priority (weight)
Css Tag selector, id selector, and class selector instance
CSS selector types and usage
Introduction and example of css series selector and descendant Selector
CSS selector details
Examples of pseudo selector usage in CSS
Logic processing in the CSS Selector
Css tall selector: nth-child () application instance