យើងបានដឹងរួចមកហើយថា យើងអាចយកពុម្ពអក្សរផ្សេងៗ ដែលមាននៅលើប្រព័ន្ធ Google Fonts មកប្រើប្រាស់នៅលើទំព័រ HTML របស់យើងបានដោយដាក់ដំណរភ្ជាប់ទៅកាន់ពុម្ពអក្សរទាំងនោះ។ លើសពីនេះទៀត យើងក៏អាច download យកពុម្ពអក្សរទាំងនោះមកប្រើប្រាស់នៅលើទំព័រ HTML របស់យើង ដោយផ្ទាល់បានដែរ ដោយធ្វើដូចខាងក្រោមនេះ៖
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <title>@Font-Face Rule</title> <style> @font-face { font-family: myFirstFont; src: url(Courgette.woff); } * { font-family: myFirstFont; } </style> </head> <body>The @font-face Rule
With CSS, websites can use fonts other than the pre-selected "web-safe" fonts.Note: Internet Explorer 8 and earlier, do not support the @font-face rule.
</body> </html>
The @font-face Rule
With CSS, websites can use fonts other than the pre-selected "web-safe" fonts.
Note: Internet Explorer 8 and earlier, do not support the @font-face rule.