+ 3

Please, what's the difference between 100 and 100%

html 5, measurements.

24th Jan 2021, 1:24 PM
Victor Ojo
Victor Ojo - avatar
2 Answers
+ 7
100 without units is in pixel by default. 100px - - >100 unit to your screen in pixels. 100% - - > maximum pixels of your screen For example your resolution width is 720px: 100% == 720px 100px == 100px
24th Jan 2021, 1:28 PM
noteve
noteve - avatar
+ 3
Hey Ojo Victor 100 is only 100 pixels of your device and 100% is your overall pixels of your device. Ex. width="100px" will take only 100pixels and width="100%" will take all pixels of your device width. Hope you will understand!!! HAPPY CODING!!!
24th Jan 2021, 2:07 PM
Giriraj Yalpalwar
Giriraj Yalpalwar - avatar