CSS stands for Cascading Style Sheets. It is used to style our applications
You can add CSS to your HTML app by using -
style
attribute (inline styles)Try updating the body
tag in the last style as follows -
<body style="background-color: black;">
... rest of the code
</body>
body {
background-color: black;
}
<html>
<title>
Visual Studio Code - Code Editor
</title>
<link rel="stylesheet" href="index.css">
</html>
<body>
... rest of the code
</body>
color
: Sets the text color.background-color
: Sets the background color.font-size
: Sets the size of the text.