Html miscellaneous
- Up to what resolution image should be saved by using in the web?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
Images that are created for the web should be saved at a resolution of 72 ppi. Here ppi denotes pixels per inch. Resolution’s size is directly proportional to the size of the file. The resolution of the image is measured as a number of squares that fit within 1 inch x 1 inch square area.
- JPEG format is useful when ___________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
When we have different colors in a picture we use JPEG format. But when images have few colors or have large areas of the same color we use PNG or GIF format. Photographs that contain sky, snow, grass etc. are not suitable for PNG or GIF format.
- Which of the following is not the software for editing images?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
Web professionals use various tools for image optimization. Adobe Photoshop, Pixelmator, PaintShop Pro, Paint.net, Adobe Fireworks are some of them. There are online editors also like photoshop.com, splashup.com, pixler.com, ipiccy.com, photoshop.com.
- Which of the following gives a text description of the image if it is not available?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
The alt attributes gives a text description of the image if the image is not available at a time. Syntax is
<img src=”apple.jpg” alt=”This is an apple, It is red” title=”apple”/>
src attribute defines the address of the image, title attribute provides some additional information about the image. Height attribute is used to adjust the height of an image as per need.
- If the transparent part of the image has rounded or diagonal edges, which format is suitable?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
If a transparent part of the image has rounded or diagonal corners we use PNG format. If we want semi opaque transparency or drop shadow there also this format is helpful. If the transparent part of the image has straight edges we use transparent GIF format.