字体图标的使用(HTML、CSS)

<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>字体图标的使用</title>
<style>
/* 字体声明 */
@font-face {
font-family: 'icomoon';
src: url('fonts/icomoon.eot?b9wh0j');
src: url('fonts/icomoon.eot?b9wh0j#iefix') format('embedded-opentype'),
url('fonts/icomoon.ttf?b9wh0j') format('truetype'),
url('fonts/icomoon.woff?b9wh0j') format('woff'),
url('fonts/icomoon.svg?b9wh0j#icomoon') format('svg');
font-weight: normal;
font-style: normal;
font-display: block;
}

span {
font-family: 'icomoon';
font-size: 50px;

}
</style>
</head>

<body>
<span></span>
</body>

</html>