What is the code for choosing images for your website?

Asked By 20 points N/A Posted on -
qa-featured

 

 

Hi,

What is the code for choosing images for your website? I am using html and php programming language. I am having a hard time on the code system about choosing and picking up some images, I want the user to be able to choose and download the images from my website. But it seems like my code is not working properly. Please do give some help.

Regards,

Greqory Gregory.

SHARE
Best Answer by Behm Partello
Answered By 0 points N/A #178414

What is the code for choosing images for your website?

qa-featured

Hi,

To put in image on your website using HTMl you can make use of the <img> tag. For example

<img src="image.gif" alt ="Required image">

Here the src is the location of the image that is stored on the server and the alt is the message that will be displayed when the user moves the cursor over the image.

For more information and tutorials visit the following website.

https://www.w3schools.com/tags/tag_img.asp

Thanks

 

Best Answer
Best Answer
Answered By 0 points N/A #178415

What is the code for choosing images for your website?

qa-featured

 

HI  
 
I have this example of the code for the image pict07
 
<IMG SRC="pict07" ALT="+" height="10" WIDTH="10" BORDER="0">
 
The previous code indentifies an image. The SRC option specifies the name and path if necessary to find the image in question. The ALT option displays text, if for one reason or another, the image does not appear. This still leaves a reference to readers of the page. HEIGHT and WIDTH options reserve the space needed to display the image. In this way, the browser space provided and continues to show the rest of the text on the page. Later, he returns and displays images in the placeholders. If this option is not used, the presentation of text on the page is slow because the browser must first read the image before reserving space. BORDER option is used to determine the thickness of the outline of the image. If the option is not there, there will be no border around the image (BORDER = "0"). 
 
I hope that this will help you

Related Questions