Images
Module 4
- 4.9
-
2021 Scheme | Programming Department
- Created by AcquireHowTo
- 5 Modules
HTML Beginner Module 4 Programming Notes
Things might seem a little bland and bore with all of this text formatting. Of course, the web is not just about text, it is a multi-media extravaganza and the most common form of sparkle is the image.
The img
tag is used to put an image in an HTML document and it looks like this:
<img src="http://www.htmldog.com/badge1.gif" width="120" height="90" alt="HTML Dog">
The src
attribute tells the browser where to find the image. Like the a
tag, this can be absolute, as the above example demonstrates, but is usually relative. For example, if you create your own image and save it as “alienpie.jpg” in a directory called “images” then the code would be <img src="images/alienpie.jpg"...
The width
and height
attributes are necessary because if they are excluded, the browser will tend to calculate the size as the image loads, instead of when the page loads, which means that the layout of the document may jump around while the page is loading.
The alt
attribute is the alternative description. This is an accessibility consideration, providing meaningful information for users who are unable to see the image (if they are visually impaired, for example).
Note that, like the br
tag, because the img
element does not enclose any content, no closing tag is required.
Powered by Froala Editor
Course Faq
- Can we download the notes?
Yes, you can download the notes by going to the Module Topics and clicking on the View/Download Module Notes.
- How often notes are updated on AcquireHowTo?
We try our best to provide update notes to our users, so we keep updating them once a week.
- Do you provide only one specific university note?
No, Our team tries to work hard to provide notes from multiple universities like VTU, IP, DTU, Amity, etc, and from multiple courses like B.E, B.Tech, BBA, MBA, BCA, etc.
- Do the Notes you provide belongs to you?
No, the notes we provide belong to the only creator of that notes. May some note belongs to us but not all. AcquireHowTo is a notes providing platform that provide notes from different sources at one place to help the students.
Announcement

AcquireHowTo
Admin 1 year agoUpcomming Updates of the AcquireHowTo
- -- CGPA/SGPA Calculator with University Filter.
- -- Student Projects Guide and Download.
- -- Article Publishing platform for different categories.
- -- Courses for students on different topics.
- -- Student Dashboard for AcquireHowTo Products.
- -- Online Portal to buy Minor Projects and Major Projects.
- -- Last year Exams Question paper .
These all updates are comming soon on our portal. Once the updates roll out you will be notified.