HomeЛюди и блогиRelated VideosMore From: Chidre'sTechTutorials

HTML video tutorial - 28 - html img tag

187 ratings | 19561 views
html img tag: img tag is a unpaired tag. img tag is a inline tag. img tag has various attributes like: src, width, height, title, alt, border. src attribute indicates the source, source image name or full path of the source image is given as a value to src attribute. width attribute is used to set the width of the image. height attribute is used to set the height of the image. title attribute: when we mouse over the image the value given to the title attribute is displayed as a tool tip. border attribute used to set the border to image. alt attribute is used to give an alternate name to the image, when source image is not available at specified location then alternate text will get display in place of the image. ======================================================== Follow the link for next video: https://youtu.be/4c7VLPZNW5w Follow the link for previous video: https://youtu.be/K0QsCbeMXkw ========= For more benefits & Be up to date =================== Subscribe to the channel: https://www.youtube.com/chidrestechtu... Like the Facebook fan page: https://www.facebook.com/ManjunathChidre Visit to Chidre's Tech Tutorials website: http://www.chidrestechtutorials.com ========== HTML Questions & Answers ====================== 1. Which HTML tag is used to display a picture? a. picture b. image c. img d. src Answer: c 2. if an image could not be loaded, then which of the following attribute is used with HTML img tag to display an alternative text? a. title b. name c. alt d. description Answer: c 3. URL stands for __________________________ a. Uniform Resource Language b. Uniform Resource Loader c. Uniform Reset Locator d. Uniform Resource Locator Answer: d 4. JPEG full form is _________________________ a. Joint Pictures Experts Graph b. Joint Photographic Experts Group c. Joint Pictures Experimental Group d. Joint Pictures Experimental Graph Answer: b ========================================================
Html code for embedding videos on your blog
Text Comments (12)
Hossam Ketfi (18 days ago)
you are smart
Anwesh Patro (1 month ago)
How to insert a Image in background of the table means in main body in HTML pls give some Suggestions to how to do
Chidre'sTechTutorials (24 days ago)
Use background attribute
geetanjali raj (2 months ago)
Good video ...thank you...
Simmi Singh (3 months ago)
Sir i copied the file in a pendrive along with the images. But whem i am running the file the images are nit showing on the screen. Plzz help me sir. I have to submit the project.
Virkkomal Preet (5 months ago)
awesome i am abke to use. image tag thanx for the hrlp
Unicorn shine (5 months ago)
sir, how we can open image with  website. or any url.I am making blog. so. I need to put image in html code, with  affiliate click bank linkif I put {image.png} and click on png image open browser.if it possible , bothe image and hyperlink can be taged. , and when I click images my affiliate market link open buy clicking buy now button
celegaming (6 months ago)
thank you!!!!
Vishal Saini (7 months ago)
i like it keep it up
pasha syead (2 years ago)
in this video I learnt how to add an image in a webpage using image tag
ramu yadav (2 years ago)
In this tutorial i learned how an image is added to a webpage and how the tag has be written. here i want to share some information which may be useful to everyone. 1. If you use the same image in multiple places on your site, be sure each img element is pointing to the same image file on the server. 2. When a browser downloads an image file, it stores it in the disk cache (a space for temporarily storing files on the hard disk). 3. That way, if it needs to redisplay the page, it can just pull up a local copy of the source document and image files without making a new trip out to the remote server. 4. When you use the same image repetitively in a page or a site, the browser only needs to download the image once. 5. Every subsequent instance of the image is grabbed from the local cache, which means less traffic for the server and faster display for the end user. 6. The browser recognizes an image by its entire path name, not just the filename, so if you want to take advantage of file caching, be sure that each instance of your image is pointing to the same image file on the server, not multiple copies of the same image file in different directories. Images and other non-text content are a challenge for users accessing the Web with screen readers. Alternative text allows you to provide a short description of what is in an image for those who can’t see it. However, there are some types of images, such as data charts and diagrams, that require longer descriptions than are practical as an alt value. For extremely long descriptions, consider writing the description elsewhere on the page or in a separate document and making a reference or link to it near the image. HTML 4.01 included the longdesc (long description) attribute, but it was dropped in HTML5 due to lack of support. The longdesc attribute points to a separate HTML document containing a lengthy description of the image, as in this example: <img src="filename.format" alt="content" longdesc="information.html">
Ayush Mathur the Gamer (10 months ago)

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.