answersLogoWhite

0

To display an image in a webpage, use the IMG tag.

First, you need to make sure that your image is located someplace accessible to the rest of the internet (i.e. on the server.) Then you need to find the address to the image. This is pretty straight forward. You can use the relative path if you'd like.

Take that address and assign it to the SRC attribute of the image. Then add an alt attribute to the image, containing a short description of what the image is about. (Otherwise, it won't be technically valid.)

<img src="example.jpg" alt="Example Image">

One other note, the generally accepted formats on the web are jpg, gif, and png. If your image is in another format, you should convert it before you begin.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

The image or icon that can be clicked to display a webpage?

The correct way to display an image on a webpage through HTML coding is


What will be the HTML syntax of the image after copying it to a CD?

An image does not have an HTML syntax. If you copy an image from a Webpage, you save just the image file (e.g. image.jpg). You do not save any of the HTML code used to tell the browser where to locate the image to display on the page.


How do you make and image automatically switch to a webpage?

You anchor it to an URL. You would like to have the image send a visitor to another webpage. Add this code, direcly above the image code &lt;a href="another webpage address"&gt; and this code direcly after the image code &lt;/a&gt; This will made the image a clickable link to "another webpage address".


How does HTML deal with a picture on a webpage?

Using HTML to display images you use the &lt;img&gt; tag. To display an image on a page, you need to use the (source attribute) src= The value of the src attribute is the URL of the image you want to display on your page which means that the image you want to display must be uploaded to a server, and have a web address (URL). The URL for the image points to the location where the image is stored on the server. It should look like this: &lt;img src="http://www.theURLfortheimage.com/Yourimage.jpg"&gt; Broken down it means &lt; img source = the address (URL) of the image is located / (for the name of the image) Yourimage.jpg&gt;


What is the Simpleviewer download used for?

Simpleviewer can be downloaded for free and used to help enhance an individuals webpage. It allows the user to display photos in an image gallery that is customized by the user.


How do you couple your webcam to your webpage?

You need to upload the image from the webcam to your web space and then have some HTML code to display the image on your site. Software like EvoCam (See links below) has a built in server which makes it a simple process to FTP the image to your site and provides example code for displaying the image.


What display the previous webpage on a standard buttons toolbar?

Back


Why is markup language required to form a webpage?

HTML is the language used to send information to a browser about how to display a webpage. The browser interprets HTML code to determine how and where to display the document content.


Why does your browser display some HTML tags on the webpages?

If you entered them wrong then it will display on the webpage. Or if you use word then it will.


How does the brower display the same webpage whether the URL of the IP address bar is entered?

browsers are made for the easy access of world wide website.so it display the same webpage by both ways.


Can other people see photos on an image hosting service webpage?

Yes, people can see photos on an image hosting service webpage. The reason being is once you submit a photo it becomes property of webpage and they can use it for promotional items.


How do you put and image on webpage?

Putting an image is as simple as putting a text. You just have to put an image tag and its path alongside.