Made In China Talk  

Go Back   Made In China Talk > Business Forum > Made in India
Directory Register FAQ Members List Calendar Mark Forums Read 中文




What is the default Browser font size of HTML5?


Reply
 
Thread Tools Display Modes
  #1  
Old 09-30-2019, 12:44 PM
rankindia rankindia is offline
Junior Member
 
Join Date: Aug 2017
Location: New Delhi
Posts: 21
Feedback: (0)
Default What is the default Browser font size of HTML5?

What is the default Browser font size of HTML5?
Reply With Quote




  #2  
Old 12-11-2019, 08:03 PM
Martinricky Martinricky is online now
Senior Member
 
Join Date: May 2016
Posts: 256
Feedback: (0)
Default

If you haven't set the font size anywhere on the page, then it is the browser default, which is often 16px. So, by default 1em = 16px, and 2em = 32px. If you set a font-size of 20px on the body element, then 1em = 20px and 2em = 40px.


NATA Delhi | Architecture Aptitude Exam
Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


| Business Forum | Toronto Chinese

All times are GMT +9. The time now is 12:20 PM.


All rights reserved. Copyright 2007 Made In China Talk