Practice free →
HomeMaharashtra HSC Class 12 (Arts)informationtechnologyCascading Style Sheets in HTML5 › What property would you use to add a dashed bord…

What property would you use to add a dashed border around an element?

Aborder with value 'dashed'
Boutline-dash: true as per the chapter
Cedge: dashed
Dbox-style: dashed
Answer & Solution
Correct answer: A. border with value 'dashed'
1. The CSS Properties table lists border. 2. Values: solid, double, groove, ridge, inset, outset, dotted, dashed. 3. 'border' with value 'dashed' produces a dashed border. 4. The other property names are not valid CSS. _Source: Maharashtra Balbharati Std XII Information Technology, Ch 1 "Cascading Style Sheets in HTML5", §1.4 ¶3_
Solve this in the app — Maharashtra HSC Class 12 (Arts) practice & 24k+ MCQs →
Related questions