css font-weight 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
weight
英[weɪt] 美[wet]
n. Weight, weight; heavy burden, heavy responsibility; important; [unity] power, increased value, weight
vt. Add weight to, make heavier; burden, burden or oppress; [unity] ] makes weighting, adding the emphasis value to
Third person singular: weights Plural: weights Present participle: weighting Past tense: weighted
css font-weight propertysyntax
Function:Set the thickness of the text.
Description: This attribute is used to set the bold font used in the text of the display element. The numeric value 400 is equivalent to the keyword normal, and 700 is equivalent to bold. The font bold for each numeric value must be at least as thin as the next smallest number, and at least as thick as the next largest number.
Note: All major browsers support the font-weight attribute.
css font-weight propertyexample
<html> <head> <style type="text/css"> p.normal {font-weight: normal} p.thick {font-weight: bold} p.thicker {font-weight: 900} </style> </head> <body> <p class="normal">php中文网</p> <p class="thick">php视频教程</p> <p class="thicker">php程序员词典</p> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance
Popular Recommendations
- How do you complete \'The Weight of Chains\' in God of War Ragnarok?
- IFA 2024 | MagicBook Art 14 Snapdragon: Honor introduces new Snapdragon X Elite laptop with 120 Hz OLED display and 1 kg weight
- 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