This article mainly explains the font weight of the HTML font label settings, but also about the HTML font label style summary, I hope to help you, now let's look at this article together
First, let's talk about how the HTML font tag sets the font weight:
What we're talking about is a little bit of CSS style stuff, it's all about basics, let's take a look at the code example.
font-weight:normal,bold,bolder,lighter,100-900;
Adding these to the CSS style will make it possible to set the font thickness to a range of 100 to 900. can be set.
Now let's look at the style summary for the font label:
CSS style properties related to the font tag:
Font-family: "Microsoft Jas Black", "Arial";
Font-size:18px;font-size:150%;font-size:xx-small,x-small,small,medium,large,x-large,xx-large;font-size:smaller , larger;
Font-style:normal,italic,oblique;
Font-variant:normal,small-caps;
Font: bold italic 18px Arial;
The font shorthand property sets all font properties in a declaration.
Note: This property also has a sixth value: "Line-height", which sets the line spacing.
Description of the HTML font tag:
This shorthand property is used to set two or more aspects of the element font at once. Using keywords such as icon, you can set the font of the element appropriately to match an aspect of the user's computer environment. Note that if you do not use these keywords, you must specify at least the font size and font family.
You can not set some of these values, such as font:100% Verdana; is also allowed. Properties that are not set use their default values.
About possible values for HTML font tags:
Okay, so this is the end of the article, and what's the problem you can ask below