answersLogoWhite

0


Best Answer

First add image (.jpg, .png, .gif) into 'images' folder in main root of the site. In HTML code add <img alt="word or phrase describing image" height="162" src="path where image is coming from images/img.gif" width="917" />

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

9y ago

First move the image to the folder where the HTML is. Then use the <img src='image-name.jpg"> to execute the code.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you upload an image in HTML code?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How do you upload an image to a HTML document?

To put an image in an HTML document, first upload the image to a web server somewhere. Then, copy the URL of the document. Finally, place the following code into the HTML document: &lt;image src="PASTE URL HERE" /&gt;


What is HTML code to create a webpageb to insert an images of input devices and output devices?

The code to insert an image beings with the &lt;img&gt; tag. If you want the user to enter the image, you have to apply image upload.


How do you insert picture from desktop to HTML page?

You don't actually insert an image into an HTML page. An HTML page can display an image from any location where the browser has access to the file. Let us assume that the image you want to display on your HTML page is image.jpg. You use the tag to tell the browser to display your image. The person looking at your HTML page needs to be able to access the file on your desktop. You normally would upload your image to the Web server, so the visiting browser can see your image. If the image is on your desktop and the browser has access to your desktop content, here is the code you would use to display your image on the Web page:


What is the HTML code to upload a gif or jpg picture from a PC onto a website?

For those who need to know how to create HTML for an image, in order to insert it on your site, this is one method that can be used, visit Image Shack at the Related Link.Have the image you want to upload somewhere easy to find such as on the desktop, or a folder on the desktop suitably named to identify it, in the box towards the top of the page, click 'browse' find your image file, fill in your email address if you wish - not essential merely optional - that's because your files will all be saved to a folder on the Image Shack server with the same name as your email address , check both 'Resize box' and 'remove size', click 'start upload' and within 30 seconds or so you will see a box towards the bottom of the page with lines of HTML, one of which is marked 'hot link forwebsites'.UNCHECK the box marked ' include details' otherwise this will place an advertisement alongside your image the HTML which it is best not to have, after unchecking this box copy and paste the HTML code marked 'hotlink for websites' and paste this code on your site where you want the image to appear. Image Shack is free to use as described.AnswerNote: This cannot be done in pure HTMLYou must have a script to process the uploaded file, otherwise it will not work.In HTML, to make a file upload box, you need to use the following code:This can be included in any form. Once you have this, and have the file submitting to a script, you can process that however you want.


What does edit HTML mean?

It means to change the HTML. Webpages are created using HTML. To change the page, you need to edit the HTML. So people open the source code of the HTML and change it and then upload the new version of the page.

Related questions

How do you upload an image to a HTML document?

To put an image in an HTML document, first upload the image to a web server somewhere. Then, copy the URL of the document. Finally, place the following code into the HTML document: &lt;image src="PASTE URL HERE" /&gt;


How do I upload an image I have and use the HTML code but the image doesn't show What did I do wrong?

You should check your folder hierarchy and verify that all the HTML/xHTML code is correct. You can use an image editor to ensure the HTML code is correct.


What is HTML code to create a webpageb to insert an images of input devices and output devices?

The code to insert an image beings with the &lt;img&gt; tag. If you want the user to enter the image, you have to apply image upload.


How do you upload a picture on tinier me?

You don't really "upload", you use HTML. i prefer this: &lt;img src=IMAGE URL HERE&gt; any image is accepted as long as the URL is a direct link to the photo or picture this can only be on profiles


How do you upload photos into blog?

If you're using blogger.com, there's a function for you to upload your photos directly into blogger. If not, you can also choose to upload your pictures onto an image hosting site and after that you'll just have to paste the HTML code into your blog. Some image hosting sites includes image shack, photo bucket etc. You can just create an account and upload your image onto the site and after that, you can share them online.


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 is a emble code?

Did you mean embed code? An embed code is HTML (web) code for embedding and image or video in a web page or blog. If you upload a video to youtube, you can get an embed code that links from your web page or blog to the video on youtube, so you can direct readers to the video.


How do you post a picture on a forum with HTML?

Most forums use something that is called BBcode, which is an alias of HTML. On most forums the code would be [img]http://deffe.com/cow.jpg[/img] some forums use HTML link to upload the image , on those forums paste the HTML link generated from a image hosting website. make sure that there are no space's present in between the tags or links


How do you insert image from your desktop in a HTML?

In HTML, to include an image, use the IMG tag and specify the location of the image using the SRC parameter. However, because the image is located on your desktop, you will be the only person who will see it. If you want to make it viewable by others, you have to upload the HTML file and the image file to a webserver. &lt;IMG SRC="location of picture"&gt;


What is the code for putting pictures on your MySpace?

Go to photobucket or tinypic.com and upload you pcitures there get the HTML code copy and paste :)


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 insert a picture or image into a post?

If the blog editor allows HTML you can use the HTML tag. But most blog editors have a tool to insert images. Save the pictures on your computer and then upload them to photobucket.com. (Photobucket gives you easy instructions on how to do that.) After you upload the photos, Photobucket will give you codes for the photos. Copy ("ctrl" + "c") the HTML code, and then paste ("ctrl" + "v") it to your MySpace blog. Make sure it appears in this format: Put the picture's code where the blank is.