Don't understand whether my code is correct?


#1

In the css setup exercise we are instructed to do the given task :

Then in the work space i wrote the following code within the <head > element tag.

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

My instruction box reloaded with a GREEN TICK.
Then for the curiosity purpose i modified the code like below :

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

Now when i executed my code then also my instruction box loaded with GREEN TICK.

So i am really confused that : Is it this that both the codes are correct ? and if not which one is wrong.
All the line code which i mentioned here is written within angle bracket at the work space.


#2

Check the order of your attributes, especially rel and type.


#3

I do not understand what you are saying.


#4

Edited for readability.


#5

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