<!doctype html>
<html>
<head>
<title>font</title>
<meta charset="utf-8" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style type="text/css">
p{
font-size: 30px;
font-family: "Comic Sans MS", cursive, sans-serif
/*字體家族*/
}
</style>
</head>
<body>
<p>This is some text</p>
</body>
</html>
字體參考網站:
https://www.w3schools.com/css/css_font.asp
https://www.w3schools.com/cssref/css_websafe_fonts.asp
全站熱搜
留言列表