Link tag not closed?


exerciese 12

"link type=“text/css” rel=“stylesheet” href=“stylesheet.css”
I typed of course with < before the link and > after stylesheet.css
but how to close this tag?

(I am new)



link is a self-closing tag so no need of a pair of tags like img tag. To self-close tag, you add a space and a slash to self close the tag like this:

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


okay thanks will try that


how can you write it like that?



To print code, you can either use backtips like I do:

Replace this line with your code, do not remove backtips

Or simply indent your code by 4 spaces.

//here is some code

You can also do it that way

Here you put your code


thanks for helping
I think I am going to use this one [code]