Check out example codes for "html inline style". It will help you in understanding the concepts better.

Code Example 1

<p style="color: blue; font-size: 46px;">

Code Example 2

<p style="text-align: center; color: pink;">Hello World</p>

Code Example 3

<link rel="stylesheet" href="hi.css">

Code Example 4

<!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>

Code Example 5

<link rel="stylesheet" href="PathToYourFile.css">

Code Example 6

<element style="css">

Learn ReactJs, React Native from akashmittal.com