Open monarosej opened 3 days ago
CSS (Cascading Style Sheets) is used to style the layout of web pages. It controls how HTML elements are displayed, including colors, fonts, and spacing.
To create CSS code, you can:
.css
) and link it to the HTML using the <link>
tag in the <head>
.-- Here's an example of an external CSS :
-- And this is how you can create the css code aka syntax
body { background-color: lightblue; }
h1 { color: navy; font-family: Arial, sans-serif; }
What is CSS?
CSS is the Cascading Style Sheet.
How we will create CSS code?