css样式表中可以这样定义: @font-face{ font-family: myfont; /*自己下载的字体*/ src:url(); } css样式表中可以这样使用: div{ font-family: myfont; }