.ﺩﺮﮐ ﺺﺨﺸﻣ ﯽﮔﮋﯾﻭ ﮏﯾ ﺭﺩ ﺍﺭ ﺖﻧﻮﻓ ﺕﺎﯿﺻﻮﺼﺧ ﻡﺎﻤﺗ ﻥﺍﻮﺗ ﯽﻣ ﻦﯿﻨﭽﻤﻫ ،ﺪﮐ ﻥﺩﺮﮐ ﻩﺎﺗﻮﮐ ﯼﺍﺮﺑ
:ﯼﺍﺮﺑ ﺮﺼﺘﺨﻣ ﯽﮔﮋﯾﻭ ﮏﯾ font
ﯽﮔﮋﯾﻭ
font-style
font-variant
font-weight
font-size/line-height
font-family
ﻪﺟﻮﺗ: ﺭﺩ ﺖﻧﻮﻓ ﯽﮔﮋﯾﻭ ﻦﯾﺪﻨﭼ ﻢﯿﻈﻨﺗ ﯼﺍﺮﺑ → ﺪﯿﻨﮐ ﻥﺎﺤﺘﻣﺍ ﺍﺭ ﻥﺁ ﻥﺎﺗﺩﻮﺧ ﺪﻨﮐ ﯽﻣ ﻢﯿﻈﻨﺗ ﻥﻼﻋﺍ ﮏﯾ ﺭﺩ ﺍﺭ ﺖﻧﻮﻓ ﯼﺎﻫ ﯽﮔﮋﯾﻭ ﻡﺎﻤﺗ ﺪﻨﮐ ﯽﻣ ﺺﺨﺸﻣ ﻦﺘﻣ ﯼﺍﺮﺑ ﺍﺭ ﺖﻧﻮﻓ ﻩﺩﺍﻮﻧﺎﺧ ﺪﻨﮐ ﯽﻣ ﺺﺨﺸﻣ ﺍﺭ ﻦﺘﻣ ﺖﻧﻮﻓ ﻩﺯﺍﺪﻧﺍ ﺪﻨﮐ ﯽﻣ ﺺﺨﺸﻣ ﺍﺭ ﻦﺘﻣ ﺖﻧﻮﻓ ﮏﺒﺳ ﺮﯿﺧ ﺎﯾ ﺩﻮﺷ ﻩﺩﺍﺩ ﺶﯾﺎﻤﻧ ﮏﭼﻮﮐ ﻑﻭﺮﺣ ﺎﺑ ﺖﻧﻮﻓ ﺎﺑ ﺪﯾﺎﺑ ﻦﺘﻣ ﮏﯾ ﺎﯾﺁ ﻪﮐ ﺪﻨﮐ ﯽﻣ ﺺﺨﺸﻣ ﺪﻨﮐ ﯽﻣ ﺺﺨﺸﻣ ﺍﺭ ﺖﻧﻮﻓ ﮏﯾ ﻥﺯﻭﻢﻠﻗ ﻩﺯﺍﺪﻧﺍ
ﻭ ﻝﺎﺜﻣ
font
ﺯﺍ p.a
{
font: 20px Arial, sans-serif;
}
p.b
{
font: italic small-caps bold 12px/30px Georgia, serif;
}
<!DOCTYPE html>
<html>
<head>
<style>
p.a {
font: 20px Arial, sans-serif;
}
p.b {
font: italic small-caps bold 12px/30px Georgia, serif;
}
</style>
</head>
<body>
<h1>The font Property</h1>
<p class="a">This is a paragraph. The font size is set to 20 pixels, and the font family is Arial.</p>
<p class="b">This is a paragraph. The font is set to italic, small-caps and bold, the font size is set to 12 pixels, the line height is set to 30 pixels, and the font family is Georgia.</p>
</body>
</html>
CSS ﻢﻠﻗ ﯼﺎﻫ ﯽﮔﮋﯾﻭ ﻡﺎﻤﺗ