What is The CSS

CSS full form is Cascading Style Sheet, this language is used for styling on an HTML page.when you create an HTML page without CSS, so do not like it see. With CSS you can make HTML page different styles. You can change the font of a paragraph, you can change its color. The paragraph can be displayed on any webpage of the internet site, it can be adjusted via CSS. There is a variety of CSS rules for styling an HTML element with CSS, how you can handle that HTML. at first, you can style HTML in the name of the tag of HTML, second:- you can add a class in that HTML tag and you can style in CSS the name of that class. Thirdly: you can add an ID to that HTML, and You can also style in CSS the name of the ID. When you style the class in CSS, you need to use the (DOT) sign before class name, and when you styling the CSS on the ID, you need to use the ID name.(#) sign.
Example:
 <body>
<p id="p-color" class="p-color">css style</p>
</body>
<style>
p{color:red;font-size:30px;}
#p-color{color:red;font-size:30px;}
.p-color{color:red;font-size:30px;}
</style>

1 Comments

Post a Comment

Post a Comment

Previous Post Next Post