You can quickly add pictures anywhere on your website by using the img tag, where img is brief for picture. Add the src feature (short for source), provide the appropriate value, and you are off and managing.

When you use the img tag, you’re telling the browser to display the image right within the web page, as shown:

In doing so, keep in mind the following few things:
Your picture should be in a web-friendly extendable, such as GIF, JPEG, or PNG.
The value of your src feature should involve the appropriate pathname and place of your computer file. So, if the picture you want to use is not in the same file as the HTML web page you will work on, you need to tell the technique in which file that picture is situated. For example, if you want to involve an picture situated one index greater than the present index, you would use src="../photo.jpg", where the ../ informs the technique to go up one index before looking for the picture computer file. If you want to referrals an picture from another web page, you could use src="http://www.websitename.com/images/photo.jpg", where the URL is the complete name of the picture place on the other website.
In common, each picture should offer a exclusive objective and add something to your website. Because guests have to delay while pictures obtain to their computer systems, it’s prudent not to bog down your web page with gratuitous design that offer little or no objective.
When you use the img tag, you’re telling the browser to display the image right within the web page, as shown:
In doing so, keep in mind the following few things:
Your picture should be in a web-friendly extendable, such as GIF, JPEG, or PNG.
The value of your src feature should involve the appropriate pathname and place of your computer file. So, if the picture you want to use is not in the same file as the HTML web page you will work on, you need to tell the technique in which file that picture is situated. For example, if you want to involve an picture situated one index greater than the present index, you would use src="../photo.jpg", where the ../ informs the technique to go up one index before looking for the picture computer file. If you want to referrals an picture from another web page, you could use src="http://www.websitename.com/images/photo.jpg", where the URL is the complete name of the picture place on the other website.
In common, each picture should offer a exclusive objective and add something to your website. Because guests have to delay while pictures obtain to their computer systems, it’s prudent not to bog down your web page with gratuitous design that offer little or no objective.



0 comments:
Post a Comment