HTML Font Tag - W3Schools
Có thể bạn quan tâm
HTML <font> Tag ❮ Previous Complete HTML Reference Next ❯
Not Supported in HTML5.
The <font> tag was used in HTML 4 to specify the font face, font size, and color of text.
What to Use Instead?
Example
Set the color of text (with CSS):
<p style="color:red">This is a paragraph.</p><p style="color:blue">This is another paragraph.</p> Try it Yourself »Example
Set the font of text (with CSS):
<p style="font-family:verdana">This is a paragraph.</p><p style="font-family:'Courier New'">This is another paragraph.</p> Try it Yourself »Example
Set the size of text (with CSS):
<p style="font-size:30px">This is a paragraph.</p><p style="font-size:11px">This is another paragraph.</p> Try it Yourself »In our CSS tutorial you can find more information about CSS Text and CSS Fonts.
❮ Previous Complete HTML Reference Next ❯ ★ +1 Track your progress - it's free! Log in Sign UpTừ khóa » Html Color Tag Font
-
HTML Styles - W3Schools
-
HTML | Color Attribute - GeeksforGeeks
-
How To Set Font Color In HTML? - Tutorialspoint
-
HTML: Tag - TechOnTheNet
-
HTML Font Style – How To Change Text Color And Size With An ...
-
How To Change The HTML Font Color - Kinsta
-
HTML Font Color Attribute
-
HTML/Text Tags/font Size And Color - TAG Index
-
How To Change Font In HTML - HubSpot Blog
-
HTML Text Color - HTML Color Codes
-
How To Change The Font Type, Size, And Color On A Web Page
-
HTML Font Color - Javatpoint
-
HTML Fonts — How To Change Font Color In HTML - TutorialBrain