answersLogoWhite

0

It's an external resource! It's likely going to be one of 3 file formats, the Joint Photographic Exchange Graphic (JPEG) format, the Compuserve Graphics Interchange Format (GIF) or the Portable Network Graphic Format (PNG.)

JPEGs are compressed with a lossy algorithm (meaning the compressed data cannot be recovered.) This keeps them small, while still maintaining excellent quality. JPEGs are most often used for photos.

GIFs are a 256 color, lossless compression file. You only get 256 color, but one can be transparent. GIFs are best used for simple drawing, like icons and buttons. GIF can also be animated

PNG is a 16 million color lossless compression file that was built as replacement for GIF. This format allows for both pure transparency, as well as alpha level transparency. This transparency allow for effects like shadows. You can also put pictures in PNG, but they almost never compress as well as a comparable JPEG.

To use the external file on a webpage, you simply use the image tags source attribute to point to the address of the file:

<img src="http://www.example.com/i/logo.png" alt="AJS" />

Viola! You can also use relative addressing. So if this were my homepage, I could instead code as:

<img src="i/logo.png" alt="AJS" />

User Avatar

Wiki User

13y ago

Still curious? Ask our experts.

Chat with our AI personalities

LaoLao
The path is yours to walk; I am only here to hold up a mirror.
Chat with Lao
DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin
CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach
More answers

The actual image file is never a part of the HTML file. HTML is a formatting language that can tell the browser to load an image. Common Web image formats are JPG, GIF, and PNG.

User Avatar

Wiki User

10y ago
User Avatar

An image or graphic which is not a part of HTML needs to be imported. It needs to be imported inside the folder where HTML file is placed.

User Avatar

Wiki User

10y ago
User Avatar

Images are not a part of HTML file at default. You have to import them to display in your project.

User Avatar

Wiki User

10y ago
User Avatar

Add your answer:

Earn +20 pts
Q: What is a picture that is not part on the HTML file?
Write your answer...
Submit
Still have questions?
magnify glass
imp