علامة <font> HTML
غير مدعوم في HTML5.
تم <font>
استخدام العلامة في HTML 4 لتحديد وجه الخط وحجم الخط ولون النص.
ماذا تستخدم بدلا من ذلك؟
مثال
اضبط لون النص (باستخدام CSS):
<p style="color:red">This is a paragraph.</p>
<p style="color:blue">This
is another paragraph.</p>
مثال
اضبط خط النص (باستخدام CSS):
<p style="font-family:verdana">This is a paragraph.</p>
<p
style="font-family:'Courier New'">This is another paragraph.</p>
مثال
اضبط حجم النص (باستخدام CSS):
<p style="font-size:30px">This is a paragraph.</p>
<p
style="font-size:11px">This is another paragraph.</p>
في برنامج CSS التعليمي الخاص بنا ، يمكنك العثور على مزيد من المعلومات حول CSS Text و CSS Fonts .