In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)05/31 Report--
Most people do not understand the knowledge points of this article "html how to change font style", so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "how to change font style in html" article.
Specific examples are as follows:
Change font style to Song style in html
In html, the H2 tag sets the font using the "font-family" attribute, and the font style of H2 is set to "font-family:' Arial", so that the font displayed on the H2 tag is Arial.
Code:
H2 {font-family: Arial; font-weight:normal;} Test fonts
(note: when the H2 label font does not set a new font, the default font is the Song style, so if you need to set the H2 font to the Song style, it does not need to be modified, the original default is the Song style. )
Related knowledge points:
H1 tag other Font style Properties
1. Font shorthand attribute, which sets all properties for fonts in a declaration.
2. Font-size: set the font size.
3. Font-size-adjust: intelligently scale the replacement font when the preferred font is not available. (CSS2.1 has deleted this attribute. )
4. Font-stretch: stretch the font horizontally. (CSS2.1 has deleted this attribute. )
5. Font-style: set font style. Font-variant displays text in small uppercase fonts or normal fonts.
6. Font-weight: sets the font thickness.
The above is about the content of this article on "how to change the font style of html". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.