Help with Html/CSS Pt 1 Lesson 3 section 6


#1

Linking a CSS Style Sheet to an HTML File

https://www.codecademy.com/courses/learn-html-css/lessons/css-setup/exercises/review-css-setup?action=lesson_resume&link_content_target=interstitial_lesson

Error messages:
Special characters must be escaped [<] [>]
Did you link the style sheet?

*NOTE: The 2nd link is not mine, it's simply part of the code already given by codecademy that is also getting error highlights.


<!DOCTYPE html>
<html>
  <head>
   <link href="/style.css" type="text/css" rel=stylesheet">
    <link href='https://fonts.googleapis.com/css?family=Roboto:400,300,500,100''rel='stylesheet'type='text/css'>
  </head>


#2

/style.css

Try it without the /


#3

note : I will be using ' ' insted of < > .please understand
You made a syntax error

' link href="/style.css" type="text/css" rel="stylesheet" '

you forget to give " in rel = "stylesheet"


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.