+ 2
How do you add images in HTML? do i need to add something else other than img src?
i'm new and trying out the codeplayground. i tried copying the url of the image as a test but it won't appear? do i need to convert the url or add new codes?
6 ответов
+ 6
Images
https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Images_in_HTML
audio:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio
video:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
How To Upload your phone images on SoloLearn using phone
https://code.sololearn.com/WT3661NHpV3B/?ref=app
Upload content with Dropbox [Tutorial]
https://code.sololearn.com/WW6t4B73kJVz/?ref=app
How to host/upload an image (IMGBB way)
/by Farhanaz/
https://code.sololearn.com/Wy3lrXNwGsgJ/?ref=app
Upload content with Google drive
https://code.sololearn.com/Wa25A17a19a1/?ref=app
+ 2
thank you !!! i'll try both of them out TvT
+ 1
check if you are following this syntax:-
<body>
<img src="link">
</body>
Hope this will solve your problem.All the best!
+ 1
Yes, you can upload the image in this link and then copy the HTML full linked and after that you paste the web playground on Sololearn, the link is given below.
https://imgbb.com/
+ 1
you should also use the alt="" part inside the img tag, since its a must after the W3C standart and it affects your SEO positively.
Inside the "alt" comes what you see inside the picture, if you see a red car, write "a red car" etc.
0
Para añadir una imagen usas img src="ruta d la imagen" >