Articles on: Deploying Your Site

How to link CSS to HTML

Add a <link> tag inside the <head> of your HTML that points to your CSS file.


<head>
<link rel="stylesheet" href="style.css">
</head>


  • If style.css is in a folder, include it: href="css/style.css".
  • File names are case-sensitive once online. Style.css and style.css are different files.
  • Upload the HTML and CSS files together, in one zip.


Styles missing once it's live? See CSS, images or files missing after upload.


Video Guide


Updated on: 10/11/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!