/* Style sheets */Now, let's see how an external link get established within an HTML5 page. A keyword link element is used, in addition to the attribute.
/* external style sheet */
body {font-family: arial, sans-serif;} a:hover {text-decoration: underline; } li {font-weight: bolder;} h2, em {font-family: arial, sans-serif; text-decoration: underline;} p {font-family: calibri; sans-serif; font-size: large;} ol {font-size: larger;}
The way it is done when writing the code, the programmer needs to have two links: (1)HTML file and (2) CSS file
containing formating details.
For example, in your page, your will have these 2 links:
< href="..\HTML Pages\External style sheets2.html"> rel </a>
< href="..\Style Sheets\External style sheets2.css"> the external style sheet </a>
<html>===================================================================
<head>
<title> Linking to an eternal CSS document </title>
<link rel="stylesheet" type = "text/css" href="..\Style Sheets/External style sheet.css">
</head>
<body>
<h2>List of courses offered online:</h2>
<ol>
<li> HTML5 </li>
<li> Javascript </li>
<li> CSS </li>
</ol>
<p> <a class="hover" href ="http="http://www.google.com">
Online Course </a>
</p>
</body>
</html>