今天小编给大家分享一下id是html的属性吗的相关知识点,内容详细,逻辑清晰,相信大部分人都还太了解这方面的知识,所以分享这篇文章给大家参考一下,希望大家阅读完这篇文章后有所收获,下面我们一起来了解一
顺晟科技
2021-06-16 10:40:41
276
代码示例:
!文档类型
超文本标记语言
metacharset='utf-8 '
头
标题/头衔
styletype='text/css '
h2 { color:green}
#p1{font-family:Times,' TimesNewRoman ',serif}
#p2{font-family:Helvetica,Arial,sans-serif;}
# P3 { font-family : serif;}
# P4 { font-family : sans-serif;}
# P5 { font-family : mono space}
# P6 { font-family :草书;}
# p7 { font-family :幻想;}。S1 { font-style : italic;}。S2 { font-style : pivotal;}。S3 { font-weight : bold;}。S4 { font-weight :100;}。S5 { font-style : normal;}
/style
/head
身体
氕字体系列/h1
p与半铸钢钢性铸铁(铸造半钢)一起使用。两个常见的字体组合列表和五个通用后备字体系列/p。
一个衬线字体家族列表!
H2字体系列:次,“TimesNewRoman”,serif/h2
pid='p1 '
spanclass='s1 '斜体字体!/span
spanclass='s2 '字体样式为字体样式:倾斜;/span
spanclass='s3 '字体样式为font-weight : bold;/span
spanclass='s4 '字体样式为font-weight :100;/span
spanclass='s5 '正常字体样式!/span
/p
一个无衬线字体家族列表!
h2font-family:Helvetica,Arial,sans-serif/h2
pid='p2 '
spanclass='s1 '斜体字体!/span
spanclass='s2 '字体样式为字体样式:倾斜;/span
spanclass='s3 '字体样式为font-weight : bold;/span
spanclass='s4 '字体样式为font-weight :100;/span
spanclass='s5 '正常字体样式!/span
/p
衬线通用字体系列!
h2font-family:serif/h2
pid='p3 '
spanclass='s1 '斜体字体!/span
spanclass='s2 '字体样式为字体样式:倾斜;/span
spanclass='s3 '字体样式为font-weight : bold;/span
spanclass='s4 '字体样式为font-weight :100;/span
spanclass='s5 '正常字体样式!/span
/p
无衬线通用字体系列!
H2字体系列:无衬线字体/H2
pid='p4 '
spanclass='s1 '斜体字体!/span
spanclass='s2 '字体样式为字体样式:倾斜;/span
spanclass='s3 '字体样式为font-weight : bold;/span
spanclass='s4 '字体样式为font-weight :100;/span
spanclass='s5 '正常字体样式!/span
/p
等宽通用字体系列!
h2font-family:monospace/h2
pid='p5 '
spanclass='s1 '斜体字体!/span
spanclass='s2 '字体样式为字体样式:倾斜;/span
spanclass='s3 '字体样式为font-weight : bold;/span
spanclass='s4 '字体样式为font-weight :100;/span
spanclass='s5 '正常字体样式!/span
/p
草书字体家族!
H2字体系列:草书/h2
pid='p6 '
spanclass='s1 '斜体字体!/span
spanclass='s2 '字体样式为字体样式:倾斜;/span
spanclass='s3 '字体样式为font-weight : bold;/span
spanclass='s4 '字体样式为font-weight :100;/span
spanclass='s5 '正常字体样式!/span
/p
幻想通用字体系列!
h2font-family:fantasy/h2
pid='p7 '
spanclass='s1 '斜体字体!/span
spanclass='s2 '字体样式为字体样式:倾斜;/span
spanclass='s3 '字体样式为font-weight : bold;/span
spanclass='s4 '字体样式为它的重量为100磅!/span
spanclass='s5 '正常字体样式!/span
/p
/body
/html
本文转载自中文网
19
2022-10
19
2022-10
18
2022-10
06
2022-10
02
2022-10
02
2022-10