This website collects cookies to deliver better user experience
How to select HTML elements tags directly inside CSS?
How to select HTML elements tags directly inside CSS?
To select an HTML element tag directly inside the CSS stylesheet, you can use the name of the HTML element tag directly in the CSS. These selectors are also called type selectors in CSS.
For example, consider 2 p (paragragh) tags in HTML like this,