NEW
Font size
WorksheetsHTML5 & CSS3 - Day 3
Total questions: 22
Worksheet time: 11mins
What does * { margin: 0; padding: 0; } do ?
Removes styles from inputs
Resets default browser spacing
Adds spacing
Aligns elements
Which property displays text vertically ?
text-align
transform
rotate
writing-mode
Which value makes text flow vertically from top to bottom ?
horizontal-tb
inline-block
column
vertical-rl
Which property hides overflowing content ?
display
text-wrap
visibility
overflow
Which value adds scrollbars when needed ?
hidden
visible
auto
clip
Which property controls uppercase/lowercase text ?
font-style
text-wrap
letter-spacing
text-transform
Which value converts text to uppercase ?
capitalize
lowercase
uppercase
bold
Which property allows resizing elements ?
transform
scale
overflow
resize
Resize works only when used with :
position
float
overflow:auto
display:flex
Which property controls where the background is painted ?
background-size
background-repeat
background-clip
background-origin
Which property applies visual effects like blur ?
transform
filter
opacity
animation
box-reflect is mainly used to :
Rotate Elements
Resize Boxes
Animate Layout
Reflect Elements Visually
Which property defines animation steps ?
transition
transform
keyframes
All of these
Which value makes animation repeat forever ?
loop
always
repeat
infinite
SVG graphics are :
Raster-based
Bitmap
Pixel-only
Vector-based
Canvas drawings are controlled using :
HTML Only
CSS
SVG
None of these
Canvas is best used for :
Page Layout
Text Formatting
Drawing Graphics
Styling Forms
Which transform function moves an element from its original position ?
scale
rotate
skew
translate
Which CSS feature allows drawing vector graphics inside HTML ?
canvas
filter
SVG
animation
Which statement about SVG is TRUE ?
SVG is pixel-based
SVG cannot be styled
SVG scales without losing quality
SVG requires JavaScript
Which JavaScript method is required before drawing on canvas ?
getCanvas()
draw()
createContext("2d")
getContext("2d")
Canvas graphics are :
Styled using CSS
Part of the DOM
Vector elements
Pixel-based drawings
