+ 8

How to make an image?

I know how to but it never works. I am not sure if I am found it right. Please post a code or give an example.

12th Oct 2018, 10:26 PM
hi user, #Have_Hope
hi user, #Have_Hope - avatar
35 odpowiedzi
+ 12
Hi [Captain.Moon] I've gone through your code Well done, you are doing a great job there👍 First of all, the <img> tag doesn't have a closing tag Secondly, why your image isn't showing is because your are using an incomplete address of the image. Below is the full address of the image: https://hyperallergic.com/wp-content/uploads/2018/07/Apple_Emoji_update_2018_Face-with-Pleading-Eyes.jpg So you can either write your code as: <img src="https://hyperallergic.com/wp-content/uploads/2018/07/Apple_Emoji_update_2018_Face-with-Pleading-Eyes.jpg" height="50px" width="50px" alt="Emoji"/>Emoji or <img src="https://hyperallergic.com/wp-content/uploads/2018/07/Apple_Emoji_update_2018_Face-with-Pleading-Eyes.jpg" width="50px" alt="Emoji"/>Emoji <!--(the height will be giving the same measurement as the width)-->
13th Oct 2018, 5:36 AM
PKA😎
PKA😎 - avatar
12th Oct 2018, 10:27 PM
hi user, #Have_Hope
hi user, #Have_Hope - avatar
+ 10
Hey, it's not making an image in your HTML code, it's making a link from your HTML to your image, this can be local, or on a network!! While the browser renders your page it reads this tag <img> the src attribute starts a search and loads or downloads the image into the browser, that shows you the image in it's place!! https://code.sololearn.com/WOyyOkv4UPQS/?ref=app
13th Oct 2018, 6:42 AM
Prop de Puppy
Prop de Puppy - avatar
13th Oct 2018, 3:18 AM
hi user, #Have_Hope
hi user, #Have_Hope - avatar
+ 6
The image tag is self closing (i.e. the closure is internal to the tag rather than a separate tag) and fundamental portion is the source of the image: <img src=“http://www.yourimagelocation.com” /> There are additional properties that may go into the tag that help it function more effectively: alt = tell the browser what to show as text if your image doesn't loac (also used by screen readers and necessary for compliant code) height and width = tells the browser how much space your image will take on the page, enabling faster loading (and necessary for compliance) style = can add additional information telling a browser how to display an image using inline CSS with things like a border, padding, etc. A well structured, basic image tag may look like this: <img src=“http://www.yourimagelocation.com” height=“100px” width=“100px” alt=“This is an image.” />
13th Oct 2018, 4:26 AM
D Santiago
14th Oct 2018, 3:23 AM
hi user, #Have_Hope
hi user, #Have_Hope - avatar
+ 5
https://www.telegraph.co.uk/content/dam/technology/2017/11/01/emoji_update_2017_12_trans_NvBQzQNjv4BqqVzuuqpFlyLIwiB6NTmJwfSVWeZ_vEN7c6bHu2jJnT8.png?imwidth=1400 and https://cdn.macrumors.com/article-new/2017/11/crying-tears-of-joy-emoji-250x248.jpg
14th Oct 2018, 3:41 AM
Rowsej
Rowsej - avatar
+ 5
PKAIdris okay.
14th Oct 2018, 5:17 PM
hi user, #Have_Hope
hi user, #Have_Hope - avatar
+ 5
Gaël Des Iris Which emoji image?
16th Oct 2018, 9:55 PM
hi user, #Have_Hope
hi user, #Have_Hope - avatar
+ 5
Oh.... I thought you wanted help from me. I was confused. I needed help. Here it is.: https://goo.gl/images/h27Dra
16th Oct 2018, 11:27 PM
hi user, #Have_Hope
hi user, #Have_Hope - avatar
+ 4
Can you please make one and add a picture? I want to see what is wrong and how it is like. If no then I can show you.
12th Oct 2018, 10:39 PM
hi user, #Have_Hope
hi user, #Have_Hope - avatar
+ 4
Use the <img> tag: <img src = "URL_FOR_IMAGE_HERE" alt = "Alternative text if image doesn’t load"/> To upload from your device, use Dropbox: https://www.sololearn.com/discuss/1054246/?ref=app
13th Oct 2018, 2:25 AM
Rowsej
Rowsej - avatar
+ 4
Loki Odinson (SLIGHTLY ONLINE) Yes. Ii is in the code.
13th Oct 2018, 4:05 AM
hi user, #Have_Hope
hi user, #Have_Hope - avatar
+ 4
Are you asking how to put an image in HTML? Or how to create an image from scratch?
13th Oct 2018, 3:00 PM
🐺Michael🐺
🐺Michael🐺 - avatar
+ 4
PKAIdris I copied a code someone shared. Whenever I actually copy from Google, all it does is:<img src ="https://hyperallergic.com/">Emoji it does not pit the rest.
14th Oct 2018, 2:28 AM
hi user, #Have_Hope
hi user, #Have_Hope - avatar
+ 4
On iOS, you can hold and drag the image up into the URL bar. I’m not sure with Android, though.
14th Oct 2018, 2:30 AM
Rowsej
Rowsej - avatar
+ 4
the device I have is Hauwie.
14th Oct 2018, 2:31 AM
hi user, #Have_Hope
hi user, #Have_Hope - avatar
+ 4
I have absolutely 0% of an idea what Hauwie is, so sorry, I can’t help :-( But if you give me the link, I might be able to get the image URL for you.
14th Oct 2018, 2:35 AM
Rowsej
Rowsej - avatar
14th Oct 2018, 3:23 AM
hi user, #Have_Hope
hi user, #Have_Hope - avatar
+ 4
[Captain.Moon] you need to go to the website that uploaded the image to get it's full address
14th Oct 2018, 4:14 AM
PKA😎
PKA😎 - avatar