Simple principles for using fonts on the web page

xiaoxiao2021-03-06  64

· It is best to use common TrueType fonts that may be used on most people's machines. Arial, Times Roman, Courier, Verdana and Century Gothic are common fonts, Chinese Windows self-contained Song, black body and. If you use uncommon fonts, don't forget to specify an alternative font for your browser without this font. Set Font-Family via CSS to set font sets, the browser can find the series of fonts you have developed, so that your page looks good. • The decorative font group is only used for title. Then specify the default font with the CSS font-family. · Do not use fonts too much, do not use too much different fonts in the same page. It is usually used to use two fonts: one for the title, one for text. Some font combinations often unable to work. For example, don't use Script and arabic font in the same page, do not use more than one decorative font on the same page. · Try to make the page more interesting using the different threads of the same font. If your page is quite bored, there is no image, then try to set the musical strength (through the CSS Font-Weight feature), which makes the page more vivid. It is not only one of the most effective ways that use not only to make the page more attractive, but it is one of the most effective ways to organize information. · Don't put two SANS Serif fonts on the same page unless you do know what is going on. If you want to use two fonts on the same page, they should come from two different font categories. · Different operating systems and PT words in the browser are not large. Pt (pound) is the first fashion used to print, in Windows and Mac OS, the same PT value corresponds to different PX (pixel) values. The only reliable unit is PX. · When setting the font size, what kind of person will be considered when your website is? If you set a fixed font size, such as 12px, then for ordinary browsers, this is nothing, but if your website, the viewer of your website includes a problem with the elderly and vision, then this size is too small. It is best to provide the right to choose a page font. Some information is extracted from: XHTML primary programming

转载请注明原文地址:https://www.9cbs.com/read-111783.html

New Post(0)