answersLogoWhite

0


Best Answer

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 HTML

You 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.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the HTML code to upload a gif or jpg picture from a PC onto a website?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you upload a picture on tinier me?

You don't really "upload", you use HTML. i prefer this: <img src=IMAGE URL HERE> 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 code a flv in a picture on a HTML website?

you <embed> the flash video by importing.


How do you get the code of a picture?

www.tinypic.com upload it.


How can i make my own Horseland layout?

go to Google images and find a picture you like then save it and go to lunapic.com upload make the picture how you like and then go to tinypic.com and upload the picture you have worked on and u will find all the HTML codes copy and paste the HTML for websites code in your description box on horse land and then you have your layout on horseland i am rachelles designs


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.


How do you get a picture code for HTML?

img scr="YOUR PICTURE LOCATION.gif">


How do you find the HTML code of a picture?

Pictures don't come in HTML


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 does website uses HTML for there web browsers?

If you would like to upload a HTML code onto a website all you have to do is select 'insert HTML code' if it is a site like 'freewebs' for eample but if you have an orriginal site then put the code onto a notepad, the save as 'whatever your text is'.HTML then you upload that file onto your site


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 :)


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.


How do you insert a HTML into your website?

You need to create your complete website with HTML. Right and open it with notepad to view the HTML code.