how to css html
snippet in html

add css file to html

user2885

/*
Adding css file into html document
*/

<link rel="stylesheet" type="text/css" href="yourstylesheetname.css">  /* add this line into head tag of the file with change in file name. */

/*
I hope it will help you.
Namaste
*/

CSS IN HTML

user668

<!-- Styles can be inserted in html using <style></style> element -->
<style>
	body {
    	background-color: cyan/*Color*/; 
  	}
</style>

<!--CSS can also be linked using link tag in html 
-the link tag is a self-closing tag-->

<link rel="stylesheet" type="text/css" href="filename.css"/>

how to css html

user2166

<html>
<head>
<style>
body{
	direction:rtl;
}
  </style>
  </head>
  <body>
  </body>
</html>