Introduction to css
1. What is CSS?
Ans-->
CSS stands for Cascading Style Sheet.
CSS is optional but it converts an of looking HTML page into a beautiful & responsive website.
2. Why we use VS code?
Ans -->
VS code(Microsoft visual Studio Code) is a very powerful coding software. It support almost all programming language.
3. Why learn CSS?
Ans -->
CSS is very demanded skill in the world of web development. If you are successfully able to master CSS. You can customize your website as per your liking.
Your first line of CSS.
Create a file with extension(.css) inside your directory and link it to your HTML file.
Linking a CSS file :-
<!DOCTYPE html>
<html>
<head>
<title> FIRST CSS CODE</title>
<link rel="stylesheet" href="css_file.css">
</head>
<body>
<h1>THIS IS THE FIRST CSS CODE. </h1>
</body>
</html>
And CSS code :---
body{
background-color:red;
}
/*It will change background colour of body tag to red.*/
1 Comments
thanks for visiting please give some suggetion to make it better and help full
ReplyDelete