css font-size property
Translation results:
font
英[fɒnt] 美[fɑ:nt]
n. Font; font; baptistery (located in a church, often made of stone ); (same font and size) a pair of typefaces
Plural: fonts
size
英[saɪz] 美[saɪz]
n. Scale; size, size; glue, paste; huge, large number
vt. Arrange by size; change the size of…; glue, sizing; paint
adj.A certain size
Third person singular: sizes Plural: sizes Present participle: sizing Past tense: sized Past participle: sized
css font-size propertysyntax
Function:Set the font size.
Description: This attribute sets the font size of the element. Note that this actually sets the height of the character boxes in the font; the actual character glyph may be taller or shorter than these boxes (usually shorter). The font corresponding to each keyword must be taller than the font corresponding to the smallest keyword and smaller than the font corresponding to the next largest keyword.
Note: All major browsers support the font-size attribute.
css font-size propertyexample
<html> <head> <style type="text/css"> h1 {font-size: 300%} h2 {font-size: 200%} p {font-size: 100%} </style> </head> <body> <h1>php中文网</h1> <h2>php视频教程</h2> <p>php程序员词典</p> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance
Popular Recommendations
- What Are Google Drive File Size Limit & Upload Size Limit?
- Xiaomi launches new transparent power bank with 212W fast charging support
- Valve is testing ARM64 support for popular games, sparking speculations about future hardware
- Lenovo Legion Go Gen 2 gaming handheld officially mentioned for the first time in company brochure
- Deal | Unbeatable 66% discount on Samsung\'s 42-inch OLED 4K S90D HDR Smart TV with 144Hz - Lowest price ever
- Alleged early Meta Quest 3S ad suggests that the VR headset will be affordable