CSS can be written inside your HTML document if you begin your CSS code with <style> and end it with </style>.
CSS can also be written as an HTML attribute
If you want to separate the CSS file(s) from your HTML document, then open a new file, name it "stylesheet1" (or whatever you want to name it), and Save As "stylesheet.css". Now go to your HTML document and inside your header tag, write:
Comments in CSS begin with /* and end with */. There are no one-line comments in CSS.
The syntax for CSS is