Html miscellaneous
- What is Modernizr?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
Small JavaScript Library is Modernizr. It detects the availability of implementations for new web technologies. Many browsers do not support the new features that were introduced by HTML5. Modernizr provides a way to detect new features.
- For caption of the image we use ____________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
An alt attributes gives a text description of the image if the image is not available at a time. An address of image is defined by src attribute. HTML5 has introduced new element named <figure>. It contains image and its caption and hence both are associated with each other. We can also have more than one image inside <figure> element and they share the same caption. Syntax is
- Which format can create a transparent image?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
For creating transparent images one can use PNG or Transparent GIF format. These formats can create see through or partially transparent image. However transparent PNG format is not supported by old browsers like Internet Explorer. SVG stands for Scalable Vector Graphics. It is a new format that is used to display vector images directly. A GIF is a graphics interchange format. JPG is a lossy compressed file format.
- What is the new format to display vector images?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
SVG stands for Scalable Vector Graphics. It is the new format that is used to display vector images directly, there is no need to create bitmap versions of the images. But it is not yet that much widespread. A GIF is a graphics interchange format. Both JPG and PNG are file format out of which one is lossy compressed while other is lossless compressed one.
- Vector images are created in ___________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
Vector images are created commonly in Adobe Illustrator. Vector images are different from bitmap images. Vector images are resolution independent. Images such as logo, diagram, illustration are created in vector format. Bitmap format includes JPG, PNG and GIF images.