Hi, my inserted image does not work. Its project 1 Tribute page. Whats wrong in here?
Here is the link: https://codepen.io/diyarcodes/pen/mdrjzMW
Below is the actual code:
<html>
<head>
<title>Drake bio</title>
<body>
<div id="main">
<div class="one">
<h1 id="title">Aubrey Drake Graham</h1>
<p>Rapper at the top of the rap game</p>
<div class="one__content"></div> </div>
<div id="img-div">
<img src="/Users/diyaryerkuliyev/Downloads/Drake_img.jpg" title="image"/>
<div id="img-caption">
<table>
<caption>Drake at the Grammy's</caption>
</table>
</div>
</div>
</div>
</body>
</html>
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).
HI @evianet !
Your image needs to be online somewhere.
That means you need to host the image somewhere in order for it to be seen on codepen.
Here are some free hosting options.
You can also grab an image off of google and copy the image address.
Hope that helps!
evianet
January 12, 2021, 10:15am
4
Thank you for helping me out! Much appreciated.
system
Closed
July 13, 2021, 10:15pm
5
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.