26. Links and Text Decoration


Can you please help me?


Links and text decoration
Great work! We're almost there.

Add a link to your HTML page using Link text tags (check the Hint if you need a reminder). You can link to any webpage.
On the CSS tab, change your link's text-decoration to none and its color to #cc0000.
You're done! Revel in the glory of your newfound CSS knowledge for a moment, then head on to the project.

Index html page:


QUACK QUACK im a ducky

cool i didnt even know you could make link text


h1 {font-family:Verdana,Sans-serif;
border: 1px;
solid #4682b4;

I'm not sure what i did wrong... I've checked it many times... It keeps saying Oops, try again. Did you remember to set your link's text-decoration to none;?




You forgot to put a semicolon after this!


THANK YOU SO MUCH :smile: I had so much trouble


Is there anything else because i did that and it still doesnt work


Can you print the code after the change + the error message you get?


@miniapple8888 you dont put a semi colon it's one statement

@s111834 remove the semi colon
border: 1px solid #4682b4;
Also it's best if you keep on one line for readability

I don't see any error in your CSS can you paste in your HTML using this format


Sorry, I got confused because the border and the solid #4682b4 were separated I thought they were two statements.:slightly_smiling:


2 posts were split to a new topic: 25. size and borders


I see one big problem, which i am surprised nobody mentioned yet. You use link as css selector. Link is a word we use to describe this html element: <a></a>, in the same way/fashion/sense we use paragraph to describe this html element: <p></p>, and the css selector for paragraph is: p, so you might want to rethink the css selector for your link


Omg I was busy inspecting the img selector


2 posts were merged into an existing topic: Links and text decoration