+ 3
difference between 'px' and '%'
What is the difference between 'px' and '%' in HTML? And what preferable should I use between this two?
2 Answers
+ 9
px stands for pixel units. It is a measurement unit you use, like centimeters but smaller. % stands for percentage, which means which percentage of the page/font/size.
+ 9
In addition to what Learnsolo said, it is better to use % if you need to make responsible web pages...