what commands are used to upload a image in HTML?
Answers
Answered by
1
Basic HTML: Adding Images
Monday Mar 28th 2011 by Joe Burns
Share:
If you're just getting started, this tutorial on web-based images will get you up to speed in no time flat!
(with updates by editorial staff 1/12/16)
How To Add HTML Images To Your Web Pages!
By now you know enough to write a very nice, text-based home page in HTML, but it is the ability of the Web to provide pictures, technically called images, graphics, or sometimes icons, that has made it so popular. In this Primer, you'll learn how to place an image on your web page and also how to turn an image into a link to another page using HTML to display the image.
Placing An HTML Image On Your Page
The HTML command to place an image is constant. You will use the same format every time. Now might be a good time to talk about where to store everything on your web server because you're starting to call for additional items to fill up your home page. Until now, all you did was put text on the page. Now you're going to place an image.
At this point in your HTML career, it's a good idea for you to place whatever images you are going to use in a subdirectory called "images". That means place the image in a directory (to be called "images") under the directory where your web pages are located (which would be the "root" directory for your site). There's more on that coming up in Primer #7.
Here's the HTML format for placing an image:
MirzaAli:
dude I just wanted the comands..
Answered by
1
Use this command to upload an image :
<input type="file" name="picture" accept="image/*">
Hope this helps!
<input type="file" name="picture" accept="image/*">
Hope this helps!
Similar questions