Question:
Current behavior:
Desired behavior
Repl link:
code snippet
Question:
Current behavior:
Desired behavior
Repl link:
code snippet
Hi @bhavyadrabla13 , welcome to the forums!
You can use the <img>
tag.
Example:
<body>
<img src='cat.png' alt='picture of a cat'> <!-- img is a self-closing tag -->
</body>
You need to have a picture uploaded in the repl, so replace the name with 'cat.png'
, and edit the alt
with a short description of your picture.
Hope this helps!
I also recommend adding a title
tag. Try this:
<img src='cat.png' alt='picture of a cat' title="Picture of a Cat">
Simplest way though, is just without either of those:
<img src="https://tinyurl.com/clleclipse">
It isn’t very accessible though, but quick, simple, easy-to-remember, and works.