The correspondence between the font size in Word and the HTML font size

Source: Internet
Author: User


Often have customers need the system on the font size in Word to describe, we often do not know their corresponding relationship, such as word in the "small" in the HTML is how many "px" or "Pt."
In a long period of time has not been found in the relevant information, can only be used to eye, not very accurate.
Some of the previous geniuses thought of a method that could be easily viewed.
Specific methods:
Enter a paragraph of text in Word, and adjust the text to the size you want, that is, "number third or small", and then save the file as a Web page, select "HTML" format in the format, and then close Word, the saved HTML file opened with the editing tool, you can find the text represents the size of the HTML font.

However, the font size of this method can only be expressed in "PT", can not be converted to "px".

Enclose the commonly used font size corresponding relation.
Initial number: 42pt; early: 36pt; one: 26pt; second: 24pt; 22pt
Small two: 18pt; third: 16pt; minor: 15pt; fourth: 14pt; small four: 12pt
No. Fifth: 10.5pt Small Five: 9pt

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.