The Universal Selector, asterisk (*, allows you to select ALL elements of any type for styling. You can target an element based on the class you have specified on it. The href attribute is not supported in p tags though. Here's how you can use the href attribute to style both elements.
Table of contents
1. How to Use the Universal Selector (*) in CSS2. How to Style Elements by Tag Name in CSS3. How to Style Classes in CSS4. How to Style Ids in CSS5. How to Style Other Attributes in CSS6. How to Use Pseudo-Classes in CSS7. How to Use the Pseudo Element Selector in CSSWrapping upSort: