how to link an external css code example

Example 1: external css

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

  <body>

Example 2: add external css to html

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

Example 3: how to refer to external style sheet

<html>
<head>
<link rel="stylesheet" type="text/css" href="Name.css">
</head>
<body>
.
.
.
</body>

Example 4: css without separate file

just add any style inside the first <p> or other element tag using style=" ;" 
<p style="font-size: xx-large;">test</p>

Tags:

Css Example