This forum is now read-only. Please use our new forums! Go to forums

banner
Close banner
0 points
Submitted by Sean Howland
almost 11 years

Oops, try again! Did you remember to put some link text between your <a></a> tags? You can't leave them empty!

C.A. says there’s no text in my tags, yet there is.

HTML:

<img src=
    "http://www.omgubuntu.co.uk/wp-content/uploads/2013/01/ubuntu-phone-in-hand1.jpg"/>
<p></p>
<a href="www.ubuntu.com">
            Ubuntu.com - Home to one of the world's most popular Linux distro's!
        </a>

CSS:

a href{
     text-decoration:none;
     color: #cc0000; }

Answer 517ad5026b3b67dfaf0008b6

0 votes

Permalink

You dont need to write in CSS “a href”, just tipe “a” and it will work.

points
Submitted by Santiago
almost 11 years

Answer 5182921a47dc9fe9e8002d8d

0 votes

Permalink

This works but is wacky.

p { font-family: Garamond, serif; font-size: 18px; color: #4A4943; } a { text-decoration:none; color: #cc0000; } img { height: 100px; width: 300px; } link

Link text!a>
text-decoration: none; color: #cc0000;

points
almost 11 years

Answer 5197eaae34d16c39db0001fe

0 votes

Permalink

I too can’t get past this screen..

CSS

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

HTML

<!DOCTYPE html>
<html>
    <head>
        <link: type="text/css" rel="stylesheet" href="stylesheet.css"/>
        <title>Result</title>
    </head>
    <body>
     <a href = "http://www.google.com.au/"><h1>Heading One</h1></a>
     <a href = "http://www.lipsum.com/">Lorem ipsum<a/>
     <img src = "http://bit.ly/NnVbxt"/>
     <p><a href = "http://www.lipsum.com/">LinkText!<a/> dolor sit amet, consectetur adipiscing elit. Donec nunc nisi, hendrerit in interdum at, bibendum sed metus. Sed luctus lectus sed neque accumsan ullamcorper. In ullamcorper elit sapien, quis varius quam. Ut hendrerit mi id erat eleifend ut egestas odio euismod. Mauris consequat feugiat enim. hyper Donec nunc odio, mollis sit amet pulvinar at, sodales id orci. Maecenas vitae lorem ante. Proin pellentesque gravida lorem in lacinia. Pellentesque ut nulla et nisi dapibus pharetra condimentum quis magna. Etiam condimentum elementum leo vitae egestas.</p>
     
     <a href="website address">Link text!</a>
    </body>
</html>
points
Submitted by Lachlan Lindsay
almost 11 years

5 comments

Black Ops 2 almost 11 years

This HTML is wrong.

BoriSpider over 10 years

I have the same problem. How to fix this. I would post the code of the link I made but don’t know how to post it here.

BoriSpider over 10 years

I typed this Google

And I still get this message: Oops, try again! Did you remember to put some link text between your tags? You can’t leave them empty!

BoriSpider over 10 years

ok, fixed mine. My needed to be . DOH!!!

BoriSpider over 10 years

* needed to be

Answer 52fea55780ff33981500476c

-1 votes

Permalink

WRITE SOMETHING IN BETWEEN THE ‘A’ TAGS

points
Submitted by Eminem5465
about 10 years