put css in html code example
Example 1: how to link css to html
<link rel="stylesheet" href="styles.css">
Example 2: add css to an html file
<link rel=“stylesheet” type=“text/css” href=“style.css” />
Example 3: adding css to html
<head>
<link rel="stylesheet" href="styles.css">
<style>
...
</style>
</head>
Example 4: how to write css in html
<p style="color: blue; font-size: 46px;">
Example 5: how to add css to html
<link rel="stylesheet" href="hi.css">
Example 6: how to add css in html
/*
adding css without a css file
*/
/*
in head add
*/
<style>
</style>