Search for the Article

How to use external css in html?

External css in html

CSS (Cascading Style Sheets) can be added to an HTML document in three ways: internal, external, and inline. So toady, I will demonstrate you that how you can link an external file to your current HTML document.
To use an external CSS file in your HTML document, you can add the following line of code in the head section of your HTML file:
	

	<link rel="stylesheet" href="path/to/your/stylesheet.css">

	
Make sure to replace "path/to/your/stylesheet.css" with the actual file path to your CSS file.