0

Height and width

I've taken two quizzes recently with similar questions along the lines of "is width=50% the same as width=50" and in html5 I know you can input the width value as just "50" but in other cases you can not. What are the exceptions to this rule?

25th Jul 2019, 7:30 PM
Tholoana MĂŒller
Tholoana MĂŒller - avatar
2 Answers
+ 1
50 (or 50px) and 50% is not the same. The % depends on the width of the window/screen. https://code.sololearn.com/W1FzBa6C06ok/?ref=app
27th Jul 2019, 10:37 AM
dozule
dozule - avatar
+ 1
Oh okay đŸ‘đŸ”
27th Jul 2019, 10:41 AM
Tholoana MĂŒller
Tholoana MĂŒller - avatar