What is the default value for box-sizing in CSS?
box-sizing
border-box
content-box
inherit
inherit
none
No tests found
What is the width of the rendered <div> element?
width
<div>
div { width: 100px; padding: 5px; background: red; box-sizing: border-box; }
90px
100px
105px
110px
What is the height of the rendered <div> element?
height
div { height: 100px; border: 3px solid black; background: red; box-sizing: border-box; }
94px
103px
106px
What is the final height of the rendered <div> element?
div { height: 100px; margin: 5px; background: red; box-sizing: border-box; }
95px
Which property is used to change font color?
font-style
font-variant
color
font-weight
What width does the <div> have?
<div style="border: 1px solid red;"></div>
0px
auto
the maximum available width
What height does the <a> have?
<a>
<a href="/home" style="height: 100px;">homepage</a>
the maximum available height
What height does the <p> have?
<p>
<p style="height: 150px;"></p>
150px
What width does the <span> have?
<span>
<span style="width: 200px;"></span>
200px
Select values that are supported by the display property:
display
relative
left
inline
inline-block
static
block
«123456789101112»