In this tutorial, we will learn an introduction to CSS. CSS stands for Cascading Style Sheets. We use this language to describe how HTML tags will look on-screen in other words we use this language to provide style to HTML tag.
Page Contents
Note! if you want to learn CSS you must have knowledge about HTML. Click Here to learn HTML.
CSS helps us to make a centralized style for all web pages of the site that make our work so easy and with CSS you can make the website so attractive because CSS provide us tons of properties to add with HTML tags.
Before Applying CSS: –
<p>This is a simple p tag </p>
<p>This is a simple p tag </p>
Output:
This is a simple p tag
This is a simple p tag
After Applying CSS: –
<p style="color:blue">This is a simple p tag </p>
<p style="color:green">This is a simple p tag </p>
Output:
This is a simple p tag
This is a simple p tag