Gce Model Questions Vol1 2023 Computer Studies Question 17
Practice objective / multiple choice question 17 from the 2023 Gce Model Questions Vol1 Computer Studies examination.
Consider the following HTML and CSS:
HTML:
```html
Content
```
CSS:
```css
.box { width: 200px; padding: 10px; border: 5px solid #000; box-sizing: content-box; }
#inner { width: 180px; box-sizing: border-box; }
.outer .box { padding: 15px; }
div { margin: 20px; }
```
(a) Which rule determines the final width of the inner ?
(b) Calculate the total horizontal space occupied by the inner (including its margin, border and padding) as it will be rendered in the browser.
Answer Options
A.
The div rule; total horizontal space = 240 px
B.
The .box rule; total horizontal space = 210 px
C.
The .outer .box rule; total horizontal space = 230 px
Correct Answer
D.
The #inner rule; total horizontal space = 220 px
Correct Answer
D
Correct Option:
The #inner rule; total horizontal space = 220 px
About This Question
This is
Gce Model Questions Vol1
2023
Computer Studies
Question 17.
It is one of the
objective
questions from the
2023
Gce Model Questions Vol1
Computer Studies
examination.
Difficulty level:
Hard
.
Answer Options
About This Question
This is Gce Model Questions Vol1 2023 Computer Studies Question 17. It is one of the objective questions from the 2023 Gce Model Questions Vol1 Computer Studies examination.
Difficulty level: Hard .
Master the Exam!
You've seen a preview, but there are thousands more questions plus AI tutor to break down complex solutions.