frentea
1
Hello!
<body>
<a href="http://www.codecademy.com">
<img="http://coredc.com/wp-content/uploads/2012/03/Georgetown-main.jpg"/></a>
<div class="friend" id="best_friend"><p>apple</p></div>
<div class="family"><p>banana</p></div>
<div class="enemy" id="archnemesis"><p>watermelon</p></div>
</body>
Why the image couldn’t be showed? If this code is wrong, what is the right code to show an image?
Thanks!
frentea
3
Thanks, but I think I worked it out. I forgot to add a word, so the picture is not showing.
Yes, you forgot the src
attribute, next time use markup to show code on the forum:
frentea
5
Hi. I tried two backticks but it’s not working, now I know how to do it. Thanks!