This forum is now read-only. Please use our new forums! Go to forums
What is wrong with my code? 1/15 HTML Basics III
<!DOCTYPE html>
Answer 53ad82c980ff331b8d000182
Answer 53b0cdad631fe965c4003a29
Answer 53b12db3548c357525004d74
<!DOCTYPE html>
<html>
<head>
<h1 style="font-family: Arial">Table Time</title>
</head>
<body>
<h1>Tables Are Mega Sweet</h1>
<a href="http://www.google.com">
<img src="http://upload.wikimedia.org/wikipedia/commons/b/b5/B%26O_RR_common_stock.jpg"/>
</a>
</body>
</html>
Answer 53b581a480ff33336f002760
I have the same issue. The output seems ok in the preview window. However, I am getting an error “Oops, try again. Make sure to put in at least two images: one regular, the other a link.”. Here’s my code. Any suggestions?
<!DOCTYPE html>
<html>
<head>
<title>Table Time</title>
</head>
<body>
<h1 style ="font-family:Arial">Tables Are Mega Sweet</h1>
<img src="http://s3.amazonaws.com/codecademy-blog/assets/da840950.jpg" />
<p><a href="https://www.google.com/images/srpr/logo11w.png">This is an image</a></p>
</body>
</html>
1 comments
like the error says? you need 2 images. you have one. this one: This is an image would be fine if it was: <a href=”http://ww.google.com>
you needed to nest the image between the tags, not give the a tags a image.
Answer 53b125548c1cccc547004874
@zurmat (and karan) check here how to post code.
@karan, i already see some flaws in your code.
this:
<a href="http://www.google.com">This is google>
should be:
<a href="http://www.google.com">This is google</a>
and not sure about the </a>
tag after your image. if you want that, then there shouln’t be text where now this is google is.
2 comments
Thanks
Thanks stetim94 your really helpful
Answer 53b12dd980ff3369fb004885
My error message is: ‘Make sure to put in at least two images: one regular, the other a link.’
1 comments
if that is the error, then add an extra image.
Answer 53b2e9668c1ccc7d380001b4
i m nt getting image a image symbol is shown not a proper image
1 comments
I think your problem is that you didn’t copy the image URL but the image itself. Try a right click and choose copy image url. That should work.
Answer 53ee6c269c4e9d5e8c0005d5
<!DOCTYPE html>
<html>
<head>
<h1 style="font-family:Arial">Table Time</title>
</head>
<body>
<h1>Tables Are Mega Sweet</h1>
<a href="http://www.google.com">This is Google>
<img src="http://upload.wikimedia.org/wikipedia/commons/b/b5/B%26O_RR_common_stock.jpg"/>This is an image>
</a>
</body>
</html>
1 comments
your code is missing a image, the link is a bit odd. after image there shouldn’t be text.
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency
1 comments
doesnt work