This forum is now read-only. Please use our new forums! Go to forums
What is wrong with my code?
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<a href="http://www.codecademy.com"><img src="https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcSHKGxblnXaiM5dzNVrowDdxyE49r6-GF6F5-vuWk7SIZBFxxH3pw /></a>
<img src="https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcSl_amXe5r7X9ZtKOFRgQBXwfPmV2zmdtGwWnQ-IQ_hs-k6sweF />
<a href="https://www.google.com"></a>
</body>
</html>
Eddited by a Tony de Araujo ( moderator);
To learn how to paste code please read this:
http://www.codecademy.com/forum_questions/51d9e8f68c1cccc92403ffe8
Answer 5449c52d282ae36cb9000972
2 votes
Images normally end with the .jpg extension ( sometimes .gif or .png) but if they don’t end with one of these extensions you can’t really post them.
Here’s a sample with good images:
<body>
<img src="http://s3.amazonaws.com/codecademy-blog/assets/f3a16fb6.jpg">
<br>
<a href="gzlongsheng.en.made-in-china.com"><img src="http://s3.amazonaws.com/codecademy-blog/assets/f3a16fb6.jpg"></a>
<br>
<a href="gzlongsheng.en.made-in-china.com">made in China</a>
</body>
Answer 546e97f1631fe9e106000750
0 votes
The problem is the links to your images are encrypted. I had a problem with the image being displayed when the URL was encrypted. Try using postimg.org to upload a photo and use one of the unencrypted links.
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