Differences between selector types in CSS styles

Source: Internet
Author: User
Differences between selector types in CSS styles

In css styles, there are three selector types: "class", "tag", "advanced", and "class". One style can change the other style of "class, a style of "class" can also change a style of "label. 2. After "tag" is set, all default styles can be changed, you cannot change the "class" style or "advanced" style. 3. change all the default styles and the "class" style, however, the "advanced" style can change another "advanced" style.
For example, the default color and underline of link text are a style. If you want to change a link, you need to set a "class" style. If you set the aling style in "advanced", all links are changed to the style set in "advanced, if a link needs to be changed, you can only set another "advanced" style (the selector name can be written by yourself ).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.