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