.ﺖﺳﺍ ﻩﺪﺷ ﻞﯿﮑﺸﺗ ﻥﻼﻋﺍ ﮎﻮﻠﺑ ﮏﯾ ﻭ ﺮﮕﺑﺎﺨﺘﻧﺍ ﮏﯾ ﺯﺍ CSS ﻥﻮﻧﺎﻗ ﮏﯾ
.ﺪﻨﮐ ﯽﻣ ﻩﺭﺎﺷﺍ ﺪﯿﻫﺪﺑ ﻞﯾﺎﺘﺳﺍ ﻥﺁ ﻪﺑ ﺪﯿﻫﺍﻮﺧ ﯽﻣ ﻪﮐ HTML ﺮﺼﻨﻋ ﻪﺑ ﺮﮕﺑﺎﺨﺘﻧﺍ
ﺪﻧﺍ ﻩﺪﺷ ﺍﺪﺟ ﻢﻫ ﺯﺍ ﺎﻬﻧﺁ ﺎﺑ ﻪﮐ ﺖﺳﺍ ﻥﻼﻋﺍ ﺪﻨﭼ ﺎﯾ ﮏﯾ ﯼﻭﺎﺣ ﻪﯿﻣﻼﻋﺍ ﮎﻮﻠﺑ
.ﺪﻧﺍ ﻩﺪﺷ ﺍﺪﺟ ﻢﻫ ﺯﺍ ﻪﻄﻘﻧﻭﺩ ﮏﯾ ﺎﺑ ﻪﮐ ﺖﺳﺍ ﺭﺍﺪﻘﻣ ﮏﯾ ﻭ CSS ﯽﮔﮋﯾﻭ ﻡﺎﻧ ﮏﯾ ﻞﻣﺎﺷ ﻥﻼﻋﺍ ﺮ
ﺪﻧﻮﺷ ﯽﻣ ﺍﺪﺟ ﻢﻫ ﺯﺍ ﻥﻼﻋﺍ ﻭ ﻝﻮﮔﺮﯾﻭ ﻪﻄﻘﻧ ﺎﺑ CSS ﻥﻼﻋﺍ ﺪﻨﭼ
ﺰﻣﺮﻗ ﮏﯾ ﺎﺑ ،ﺪﻧﺮﯿﮔ ﯽﻣ ﺭﺍﺮﻗ ﻂﺳﻭ ﺯﺍﺮﺗ ﺰﮐﺮﻣ ﺭﺩ <p> ﺮﺻﺎﻨﻋ ﻪﻤﻫ ،ﻝﺎﺜﻣ ﻦﯾﺍ ﺭﺩ
p
{
color: red;
text-align: center;
}
→ ﺪﯿﻨﮐ ﻥﺎﺤﺘﻣﺍ ﺍﺭ ﻥﺁ ﻥﺎﺗﺩﻮﺧ
<!DOCTYPE html>
<html>
<head>
<style>
p {
color: red;
text-align: center;
}
</style>
</head>
<body>
<p>Hello World!</p>
<p>These paragraphs are styled with CSS.</p>
</body>
</html>
p
ﺭﺩ ﺮﮕﺑﺎﺨﺘﻧﺍ ﮏﯾ CSS ﺮﺼﻨﻋ ﻪﺑ) ﺖﺳﺍ HTML ﯽﻣ ﻪﮐu
!ﺖﺧﻮﻣﺁ ﺪﯿﻫﺍﻮﺧ CSS ﯼﺎﻫ ﯽﮔﮋﯾﻭ ﻭ CSS ﯼﺎﻫﺮﮕﺑﺎﺨﺘﻧﺍ ﺩﺭﻮﻣ ﺭﺩ ﯼﺮﺘﺸﯿﺑ ﺕﺎﻋﻼﻃﺍ ﯼﺪﻌﺑ ﯼﺎﻫ ﻞcolor
ﻭ ﺖﺳﺍ ﯽﮔﮋﯾﻭ ﮏﯾ text-align
ﻭ ﺖﺳﺍ ﯽﮔﮋﯾﻭ ﮏﯾ