Having trouble Linking CSS styles to HTML

Hi ryan_sharp welcome to the forum

If the beginning of your HTML file is

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/normalize.css" />
<link rel="stylesheet"  href="css/about-styles.css" />
<title>Ryan Sharpss</title>

assuming the HTML file is “about.html” the folder strucure would be

site_folder/
. . . about.html
. . . css/
. . . . . normalize.css
. . . . . about-styles.css

That is, there is a css folder in the same folder about.html is on.
the two css files are inside the css folder and spelled exactly that way - case matters.

1 Like