import css style code example
Example 1: how to link css to html
<link rel="stylesheet" href="styles.css">
Example 2: import css
<link rel="stylesheet" type="text/css" href="style.css">
Example 3: external css
<html>
<head>
<link rel="stylesheet" type="text/css" href="mystyle.css"></link>
</head>
<body>
Example 4: @import css
@import "navigation.css"; /* Using a string */
or
@import url("navigation.css"); /* Using a url */
Example 5: how to link css to html
<link rel="stylesheet" href="file_name.css">
Example 6: how to link an css file to html
<link rel="stylesheet" href="hi.css">