can i put a image using web url in image section? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

can i put a image using web url in image section?

it's possible or not

30th Dec 2016, 2:52 PM
Vikkie Hankie
Vikkie Hankie - avatar
7 Answers
+ 4
"Show us your code pls" +1 What call you "image section"? In Html5, you have <section> tag, who's general container but doesn't itself provide image capabilities: you need another tag at content. You have also the <figure> container, semanticly designed for multimedia content, but as with <section> you need to place the <img> tag for use an image. The <img> tag is in html specifications since the very first time... His syntaxe is: <img src="url_of_your_file" alt="alternate text for describing image if not displaying, for any reason, or for blind people"> "alt" parameters is important: "Omitting this attribut altogether indicates that the image is a key part of the content, and no textual equivalent is available. Settings this attribut to empty string ( alt="" ) indicates that this image is NOT a key part of the content, and that non-visual browsers may omit it from rendering." https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
30th Dec 2016, 3:44 PM
visph
visph - avatar
+ 3
It's possible
30th Dec 2016, 2:57 PM
Andreas K
Andreas K - avatar
+ 3
Show us your code pls
30th Dec 2016, 3:25 PM
Andreas K
Andreas K - avatar
+ 3
Well, your image url is an image of 1x1 pixel size ^^ Try with a good one ( verif if the link is good by open it in a browers )... Maybe this image is a temporary link, who is "protected" ( sometimes servers protect their images by detecting if the access is authorized, and show another if it's the case -- providing generaly an explicit message, but sometimes just don't send the image )
30th Dec 2016, 3:57 PM
visph
visph - avatar
+ 1
I put a web URL in image section but that's not work
30th Dec 2016, 3:00 PM
Vikkie Hankie
Vikkie Hankie - avatar
+ 1
<html> <head> <title>first page</title> </head> <body> <img src="http://t2.gstatic.com/images?q=tbn:ANd9GcS0xHp3WuYYcNevUj9f2zPyCb_4IPW-HFkicM7tuGRi8qgThPM7wA.jpg" /> </body> </html
30th Dec 2016, 3:48 PM
Vikkie Hankie
Vikkie Hankie - avatar
+ 1
When I open your image link there is no image...
30th Dec 2016, 3:54 PM
Andreas K
Andreas K - avatar