html refer to css code example
Example 1: connect html file to css
<head>
<link rel="stylesheet" href="styles.css">
</head>
Example 2: adding css to html
<head>
<!-- Linking external Css document -->
<link rel="stylesheet" href="styles.css">
<!-- Writing Css inside HTML element -->
<style>
...
</style>
</head>
Example 3: how to add css to html
<link rel="stylesheet" href="hi.css">