inline css

CSS
/* Answer to: "link to css" */
<head>
  <link rel="stylesheet" type="text/css" href="yourcss.css">
</head><link rel=“stylesheet” type=“text/css” href=“style.css” /><link rel="stylesheet" type="text/css" href="style.css">  <!DOCTYPE html>
<html>
<body>

<h1 style="color:blue;text-align:center;">This 
  is a heading</h1>
<p style="color:red;">This is a paragraph.</p>


  </body>
</html> <link rel="stylesheet" type="text/css" href="mystyle.css"><!DOCTYPE html>
<html>
<head>
<style>

 body {background-color: powderblue;}
h1   {color: blue;}
p    {color: red;}

</style>
</head>
<body>

<h1>This is a 
 heading</h1>
<p>This is a paragraph.</p>

</body>
</html> 
Source

Also in CSS: