I like to work in em
s when creating websites. Therefore I set a default font-size
of 100.01%
on the body
element.
My question is should I set the default font-size
on the body
or the html
element? What are the pros and cons (if any) of both?
Now that the rem
unit is starting to become popular, setting the base font-size on the root element (html tag) is advised (rem
stands for root em).