26 will not work

this is my html

<!DOCTYPE html>
<html>
	<head>
	<img src="http://bit.ly/NnVbxt"/>
	<a href="url">Link text</a>
	<link type='text/css' rel='stylesheet'href='stylesheet.css'>/>
		<title>Result</title>
	</head>
	<body>
	<h1>a</h1>
	<p>b</p>
	</body>
</html>

and this is my css

h1{
font-family:Verdana, sans-serif;color:#576D94;
}
p{
   font-size:18px;color:#4A4943;font-family: Garamond, serif;
}
img {
 height:100px;width:300px;border:1px solid #4682b4;
}
link {
    text-decoration:none;color:#cc0000;
}
what is wrong?

couple of issues, this:

	<img src="http://bit.ly/NnVbxt"/>
	<a href="url">Link text</a>

should be inside body, not in head, and you might want to replace url with an actually url (for example with the url of codecademy or google). Speaking of the link (<a></a>)(would be better if we called it anchor, as it is officially called), you tried to target your anchor with this in css:

link {
    text-decoration:none;color:#cc0000;
}

but hold on, we just determined that link/anchor is just a word we use to describe a certain html element, in the same fashion we use paragraph to describe this html element:

<p></p>

yet the css selector for a paragraph is p, not paragraph, so what do you think the css selector for your anchor is?

for next time, use one of the two following options to make your code/indent is visible:

select your code and press ctrl + shift + c (or cmd + shift + c if you use a mac)

if this instructions are unclear, you can also insert 3 backticks before and after your code, like so:

```
<p>visible</p>
```

the backtick is located above the tab key on your keyboard

Good you made your own topic, but no need to both make your own topic and reply to an old topic.

but it asks me if i had set my link’s text-decoration to none;?
and i did but it will not work

Because you use the wrong css selector (as explained above)

show me what exactly i have to do

link is your css selector in this bit of code:

link {
    text-decoration:none;color:#cc0000;
}

you need to change the css selector, since link is not the right css selector. As i explained, please read my first answer

what do i put p instead of link?

no, p would target any paragraphs you have, you want to target <a></a>, if you don’t know how a css selector should be, read the instructions from this exercise

O OK thanks i did not see that the first time