+ 2
Pls I need help with inserting pictures into my code
It doesn't show up on screen even with the correct image location and everything
7 Respostas
+ 6
ĂyrĂŻl 4Lđšâđ»đ„
The <img/> and <hr> tags are in head đ, it must be in body tag in order to be visible on screen or web browser.
+ 3
Don't forget to attach the ailing code bit link in post Description. People can't help you until they see and analyse the code.
+ 3
ĂyrĂŻl 4Lđšâđ»đ„
That's right, page content should be inside document body. Document head is used for meta information and external links of scripts/stylesheets.
You need an actual link to the image. The URL in the 'src' attribute redirects to an article where the image is used. But it's not an actual URL of the image.
Here's what I did to get the actual URL in my phone, using Chrome
1. Open the URL in your <img> https://images.app.goo.gl/aQWSg46PcX9tSd5d9
2. Long press on the image and pick " Open image in new tab"
3. Switch to the new tab, tap on Chrome address bar, and then tap on "Copy Link" button. This allows me an actual image URL that can be used as 'src' value in <img> element https://www.gamepur.com/wp-content/uploads/2022/10/03142607/minecraft_dream_smiley.jpg?w=1200
+ 2
Tnx
+ 1
Ohhh