Before that you must know that CSS is are of three types -
We use Inline CSS in lines like if we are giving an video you must put its width height like this <video width=100px;> this is inline css
Otherwise you use the <style> tag to add css this is internal CSS
The last one is External CSS ....in this you link a CSS file like <link href= style.css>
yes, you can use css without html: with any document supporting css, such as svg; but alone, css will lacks a target document to be styled...
you can use css with html either by inserting css code as <style> tag(s) content, or by linking external file(s) with <link> tag.
CSS can be used without HTML. There are many CSS-in-JS libraries. CSS is used to style the
view in React Native, a mobile app development framework.
CSS can be used with HTML in 3 ways.
1. Inline styling using the global style attribute.
<p style="color: teal">Paragraph One</p>
2. As an HTML tag.
3. An an external file
<!--In <head> section of HTML -->
<link rel="stylesheet" href="/path/to/external/file.css">