CSS ﺪﻨﺳ ﮏﯾ ﻪﺑ ﻥﺩﺍﺩ ﻞﯾﺎﺘﺳﺍ ﯼﺍﺮﺑ ﻪﮐ ﺖﺳﺍ ﯽﻧﺎﺑﺯ HTML ﻢﯿﻨﮐ ﯽﻣ ﻩﺩﺎﻔﺘﺳﺍ.
CSS ﺮﺻﺎﻨﻋ ﻪﻧﻮﮕﭼ ﻪﮐ ﺪﻫﺩ ﯽﻣ ﺢﯿﺿﻮﺗ HTML ﺪﻧﻮﺷ ﻩﺩﺍﺩ ﺶﯾﺎﻤﻧ ﺪﯾﺎﺑ.
.ﺪﻫﺩ ﯽﻣ ﺵﺯﻮﻣﺁ ﺎﻤﺷ ﻪﺑ ﻪﺘﻓﺮﺸﯿﭘ ﺎﺗ ﯽﺗﺎﻣﺪﻘﻣ ﺯﺍ ﺍﺭ CSS ﺵﺯﻮﻣﺁ ﻦﯾﺍ
.ﺖﺳﺍ CSS ﻝﺎﺜﻣ ﺎﻫﺪﺻ ﻞﻣﺎﺷ CSS ﺵﺯﻮﻣﺁ ﻦﯾﺍ
.ﺪﯿﻨﮐ ﻩﺪﻫﺎﺸﻣ ﺍﺭ ﻪﺠﯿﺘﻧ ﺎﺗ ﺪﯿﻨﮐ ﮏﯿﻠﮐ ﻪﻤﮐﺩ ﮏﯾ ﯼﻭﺭ ﻭ ﺪﯿﻨﮐ ﺶﯾﺍﺮﯾﻭ ﺍﺭ CSS ﺪﯿﻧﺍﻮﺗ
body
{
background-color: lightblue;
}
h1
{
color: white;
text-align: center;
}
p
{
font-family: verdana;
font-size: 20px;
}
→ ﺪﯿﻨﮐ ﻥﺎﺤﺘﻣﺍ ﺍﺭ ﻥﺁ ﻥﺎﺗﺩﻮﺧ
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-color: lightblue;
}
h1 {
color: white;
text-align: center;
}
p {
font-family: verdana;
font-size: 20px;
}
</style>
</head>
<body>
<h1>My First CSS Example</h1>
<p>This is a paragraph.</p>
</body>
</html>
ﯽﻣ ﺭﺎﮐ ﻪﻧﻮﮕﭼ ﺪﯿﻨﯿﺒﺑ ﺎﺗ ﺪﯿﻨﮐ ﮏﯿﻠﮐ «ﻦﮐ ﻥﺎﺤﺘﻣﺍ ﺕﺩﻮﺧ» ﻪﻤﮐﺩ ﯼﻭﺭﺪﻨﮐ.
ﺪﯿﻨﮐ ﮏﯿﻠﮐ a ﯼﻭﺭ ﻭ ﺪﯿﻨﮐ ﺶﯾﺍﺮﯾﻭ ﺍﺭ CSS ﺪﯿﻧﺍﻮﺗ ﯽﻣ ،ﺎﻣ ﺮﮕﺸﯾﺍﺮﯾﻭ ﺎﺑ !ﺪﯾﺯﻮﻣﺎﯿﺑ ﻝﺎﺜﻣ
!ﺪﯾﻭﺮﺑ CSS ﯼﺎﻫ ﻪﻧﻮﻤﻧ ﻪﺑ
.ﻢﯿﻨﮐ ﯽﻣ ﻪﯿﺻﻮﺗ ﻮﻨﻣ ﺭﺩ ﻩﺪﺷ ﺮﮐﺫ ﺐﯿﺗﺮﺗ ﻪﺑ ﺍﺭ ﺵﺯﻮﻣﺁ ﻦﯾﺍ ﻥﺪﻧﺍﻮﺧ
.ﺩﺭﺍﺩ ﺩﻮﺟﻭ ﭗﭼ ﺖﻤﺳ ﺭﺩ ﻪﺸﯿﻤﻫ ﻮﻨﻣ ،ﺪﯾﺭﺍﺩ ﯽﮔﺭﺰﺑ ﺶﯾﺎﻤﻧ ﻪﺤﻔﺻ ﺮﮔﺍ
.ﺪﯿﻨﮐ ﺯﺎﺑ ﺍﺭ ﻮﻨﻣ ،☰ ﯼﻻﺎﺑ ﯼﻮﻨﻣ ﺖﻣﻼﻋ ﯼﻭﺭ ﻥﺩﺮﮐ ﮏﯿﻠ
.ﺪﯿﻨﮐ ﻩﺩﺎﻔﺘﺳﺍ ﺎﻬﻧﺁ ﺯﺍ ﺎﻤﺷ ﺎﺗ ﻢﯾﺍ ﻩﺩﺮﮐ ﺩﺎﺠﯾﺍ ﺍﺮﮔ ﺶﻨﮐﺍﻭ W3.CSS ﺐﻟﺎﻗ ﺪﻨﭼ ﺎﻣ
.ﺪﯿﻨﮐ ﻩﺩﺎﻔﺘﺳﺍ ﺩﻮﺧ ﯼﺎﻫ ﻩﮊﻭﺮﭘ ﻡﺎﻤﺗ ﺭﺩ ﻭ ﺪﯾﺭﺍﺬﮕﺑ ﮎﺍﺮﺘﺷﺍ ﻪﺑ ،ﺪﯿﻨﮐ ﻩﺮﯿﺧﺫ ،ﺪﯿﻫﺩ ﺮﯿﯿﻐ
!CSS ﻥﺎﮕﯾﺍﺭ ﯼﺎﻫ ﺐﻟﺎﻗ