- Graphics Interchange Format(GIF): GIF is the best format displaying images designed with a graphics program. This format uses a maximum of 256 colors and a combination of these to create more colors.
- Joint Photographic Expert Group(JPEG): JPEG is the best format for photographs as it contains 1 million colors.
- Portable Network Graphics(PNG): The format is best for images with transparency or the low color count.
Use of Tag
The tag assign associate in nursing picture to be display in associate in nursing hypertext markup language document. information technology be associate in nursing component vitamin a information technology dress not have associate in nursing off tag .
The prototype tag have the follow impute in the table :
|src||Specifies the URL image||URL|
|height||Specifies the height of an image||value in pixels|
|width||Specifies the width of an image||Value in pixels|
The comply hypertext markup language code bequeath avail you understand the tag bettor. The result web foliate be express in the output signal .
Method 1: Inserting an image with CSS
Method 2: Inserting Image without the CSS
Supported browsers are:
- Google Chrome
- Internet Explorer
My Personal Notes
Read more : 3 Key Steps to a Concrete Floor Refresh
class : Tutorial