Quiz
Class Work Four
This quiz has a time limit, so it opens in the usual player.
Questions in this quiz (10)
1The src attribute is optional in the <img> element.
- ATrue
- BFalse
2What is the purpose of the alt attribute in the <img> element?
- ASets the border color of the image
- BSpecifies the path to the image
- CProvides alternative text if the image cannot be displayed
- DSets the alignment of the image
3The height and width attributes are used to:
- AResize the image in pixels
- BAdd text below the image
- CDefine animation properties
- DSet the image alignment
4Which attribute adds horizontal space around an image?
- Awidth
- Balign
- Chspace
- Dpadding
5The height and width attributes can not only accept values in percentage (%) format.
- ATrue
- BFalse
6The box-shadow property is not used to apply shadow effects around an element.
- ATrue
- BFalse
7The line-height property is used to change the size of the font.
- ATrue
- BFalse
8The src attribute can be used to position an image to the left or right of surrounding text.
- ATrue
- BFalse
9Which CSS property is used to round the corners of an element?
- Abox-shadow
- Bborder-style
- Cborder-radius
- Dcorner-shape
10Which CSS property is used to change the typeface of the text?
- Afont-size
- Bfont-style
- Cfont-family
- Dtext-align
Information
- Description
- Quiz on Class Work Four, created by Abdukaadir Mohamed Nor on 27/05/2025.
- Author
- Abdukaadir Mohamed Nor
- Language
- English
- Views
- 0
- Rating
- No ratings yet Rate this quiz