Web front End--font specification

Source: Internet
Author: User

Font specification

1 You must use a CSS style sheet for text font style and line spacing when setting font styles, and prevent <font size=?> tags from appearing on the page

2 font Size: In the Web page Chinese should be preferred to use the song body, English and digital preferred to use Verdana and Arial two fonts, Generally use the Chinese song Body 9pt and 11pt or 12px and 14.7px This is the optimized font size, bold or italicized word bold, the general selection of 11pt and 14.7px font size is more appropriate

3 in order to maximize the function of browser auto-typesetting, in a complete text please try not to use <br> to manually intervene in segments

4 different from the text should have a half-width between the space, but the head of the symbol before and after the end of the symbol, except for punctuation between Chinese characters to use full-width punctuation, English letters and numbers around the parentheses should be used half-width brackets

5 Please do not appear in the Web page more than one, and try to use less full-width space (the English character set, the full-width space will be garbled), white space should try to use text-indent, padding, margin, hspace, vspace and transparent GIF pictures to achieve

6 line spacing is recommended as a percentage, and the two leading values commonly used are line-height:120%/150%

7 in typesetting we often encounter the need to do the first line indentation, do not use or full-width space to achieve the effect, the standard practice is to define P{TEXT-INDENT:2EM in the style sheet,}, and then add <p> tags to each paragraph, note, in general, do not omit < /p> end Tag



Web front End--font specification

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.