<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> <style type="text/css"> @font-face { font-family: '123'; src: url('./font/111.ttf') format('truetype'); } body { font-family: '123', sans-serif; } </style> </head> <body> <h1>你好,高浩松</h1> </body> </html>
标签:HTML,family,123,字体,引用,font From: https://www.cnblogs.com/gaohaosong/p/17405690.html