HTML Introduction to HTML and CSS Adding a New Web Page Write the CSS

Chloe Evans-Cross
Chloe Evans-Cross
1,928 Points

I can't get my css to link to my html? My code is the same as hers, help!

<!DOCTYPE htmml> <html> <head> <title>Emily Reynods Resume</title> <link rel="stylesheet" href="resumeemily.html">

</head> <body> <h1>Emily Reynolds</h1> <img src="https://placeimg.com/200/200/tech" alt="Emily Reynolds, Web Developer" class="main-image">

<h2 class="section-title">Summary of Qualifications</h2>
<ul>
  <li>Experience</li>
  <li>Experience with HTML, CSS, Javascript</li>
  <li>Bachelor of Science, Biochemistry</li>
</ul>

</body> </html>

Chloe Evans-Cross
Chloe Evans-Cross
1,928 Points

<!DOCTYPE htmml> <html> <head> <title>Emily Reynods Resume</title> <link rel="stylesheet" href="resumeemily.html">

</head> <body> <h1>Emily Reynolds</h1> <img src="https://placeimg.com/200/200/tech" alt="Emily Reynolds, Web Developer" class="main-image">

<h2 class="section-title">Summary of Qualifications</h2>
<ul>
  <li>Experience</li>
  <li>Experience with HTML, CSS, Javascript</li>
  <li>Bachelor of Science, Biochemistry</li>
</ul>

</body> </html>

I'm not sure why the whole code isn't posting...

Steven Parker
Steven Parker
176,365 Points

Use Markdown formatting for posting code. Watch this video to see how.

But for an issue like this, something else besides the code could be a problem. To share the entire environment, make a snapshot of your workspace and post the link to it here.

3 Answers

Jacqueline Guiry
Jacqueline Guiry
1,762 Points

Your link to your css: <link rel="stylesheet" href="resumeemily.html">

The file you're pointing to is an html file not a css file.

Victor Lafarga
Victor Lafarga
18,005 Points

Check your <!DOCTYPE htmml> you have 2 m's instead of just one, I hope it helps.

Luis Munguia Salas
Luis Munguia Salas
6,977 Points

<!-- <!DOCTYPE html> <<- A SINGLE m. NOT DOUBLE mm <html> <head> <title>Emily Reynods Resume</title> <link rel="stylesheet" href="resumeemily.html"> <<- THIS NEEDS TO BE resumeemily.css

  </head> 

<body> <h1>Emily Reynolds</h1> <img src="https://placeimg.com/200/200/tech" alt="Emily Reynolds, Web Developer" class="main-image">

-->