0
Why I can't put pictures in html code ?
7 odpowiedzi
+ 2
Look here for explanation.
https://www.sololearn.com/Discuss/2518041/?ref=app
+ 1
Ishan Ghimire
There is 'src' not 'scr'
0
Yes
0
A bitmap image (a collection of colored pixels, such as a jpg or png file) is typically stored as a separate file. If the file is located in your own device, and the html file is on the server, then the server cannot access the image. The image must be at the same location as the html file, or it can be anywhere on the internet and then you need to reference the public URL.
Another way is to embed the graphics in the html code. This is most trivial with SVG because that is also very similar to html code.
You can also embed the binary data of the image directly in the IMG tag.
0
<!DOCTYPE html>
<html>
<head>
<title>my first code</title>
</head>
<body>
<img scr ="https://i.pinimg.com/736x/84/b9/48/84b9484fc37435a37eeacb3704c78276.jpg"/>
</body>
</html>
- 1
We can put but
Did you try to do?
- 1
Ishan Ghimire
How did you try can you show your code?