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
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.