Don't understand whether my code is correct?


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.

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

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.


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


I do not understand what you are saying.


Edited for readability.


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