CSSfont-weightProperty ❮PreviousComplete CSSReferenceNext❯ Example Set different font weight for three paragraphs: p.normal{ font-weight:normal; } p.thick{ font-weight:bold; } p.thicker{ font-weight:900; } Try it Yourself » Definition and Usage ...
CanIEmail.com: Search "font-weight" (email client compatibility information) CSS 2.1: font-weight property CSS3: font-weight property CSS Fonts 4: font-weight property MDN: @font-face font-weight descriptor MDN: font-weight property Quackit: font-weight property ...
CSS information 顯示其他 5 個 Specifies the weight of the font of the object. Syntax 複製 Integer value = object.put_fontWeight( v);Integer value = object.get_fontWeight(* sWeight); Property values Type:BSTR normal(normal) Font is normal. ...
CSSfont-weightproperty sets the thickness of characters of the text present in HTML Element(s). The syntax to specify a value forfont-weightproperty is font-weight: value; The following table gives the possible values that could be given tofont-weightproperty. The numeric values take effect on...
CSS Font Weight CSS font-weight is used to adjust the lightness or boldness of the text in a webpage. For example, span { font-weight: bold; } Browser Output Here, font-weight: bold sets the text of the span element to bold. CSS Font Weight Syntax The font-weight property has the ...
CSS Property - Font Value: [ <font-style> || <font-variant> || <font-weight> ]? <font-size> [ / <line-height> ]? <font-family> Initial: not defined for shorthand properties Applies to: all elements Inherited: yes Percentage values: allowed on <font-size> and <line-height> ...
The font-weight CSS property sets the weight (or boldness) of the font. The weights available depend on the font-family that is currently set.
简单地说来,就是font-weight会对应到 elem.style.fontWeight 上。同时,每个 CSS 属性也会映射到一个...
CSS Syntaxfont: font-style font-variant font-weight font-size/line-height font-family|caption|icon|menu|message-box|small-caption|status-bar|initial|inherit;Property ValuesProperty/ValueDescription font-style Specifies the font style. Default value is "normal". See font-style for possible values ...
The font CSS shorthand property sets all the different properties of an element's font. Alternatively, it sets an element's font to a system font.