Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need help linking my HTML to CSS. I have all files in the same folder (html fi

ID: 3748486 • Letter: I

Question

I need help linking my HTML to CSS.

I have all files in the same folder (html files, css files, etc)

This is the code I have:

<meta charset="utf-8">

<meta name="keywords" content="breast cancer, run, race, charity">

<title>Diane's Run</title>

<link rel="stylesheet" type="text/css" href="dr_base.css" />

<link rel="stylesheet" type="text/css" href="dr_layout.css" />

</head>

<body>

<header>

<ul>

<li><a href="dr_index.html"></a>Home</li>

<li><a href="dr_info.html"></a>Race Info</li>

<li><a href="dr_faq.html"></a>FAQ</li>

</ul>

</header>

Home, Race Info, and FAQ should link to the CSS pages, and they are not. At the top of the website, all I see is the text for these 3 but no clickable link.

Where did I go wrong?

Explanation / Answer

//The list items should be

<li><a href="dr_index.html">Home</a></li>

<li><a href="dr_info.html">Race Info</a></li>

<li><a href="dr_faq.html">FAQ</a></li>

//you have to write the titles of the links inside the <a> tag. You have written them after </a> tag which becomes list item and Non clickable

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote