Type the code, run it in your browser, and change the CSS values.
This paragraph uses class1.
This paragraph uses class2.
Student Name Area
Attribute name selector
Exact value selector
List matching selector
Hyphen matching selector
Starts with selector
Ends with selector
Contains text selector
Move your mouse over this link: W3C Website
Click the input box:
CSS pseudo-elements can style a special part of an element. For example, we can style the first letter or the first line.
Use ::before and ::after to add content with CSS.
This paragraph is not inside the div.
This paragraph is immediately after h3.
This paragraph is not immediately after h3.
First sibling paragraph after h3.
Second sibling paragraph after h3.
This paragraph uses group selector style.
Please make your own profile card below. Change the text and CSS values.
Name: Sangam khanal
Country: Nepal
Favorite Color:Blue
Goal: I want to learn HTML and CSS