FontAwesome-ファイルタイプアイコン

この章では、Font Awesome FileTypeアイコンの使用法について説明します。と仮定するcustom 以下の例に示すように、サイズと色を定義したCSSクラス名です。

<html>
   <head>
      <link rel = "stylesheet" href = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css">

      <style>
         i.custom {font-size: 2em; color: gray;}
      </style>
		
   </head>
	
   <body>
      <i class = "fa fa-adjust custom"></i>
   </body>
	
</html>

次の表は、Font Awesome FileTypeアイコンの使用法と結果を示しています。上記のプログラムの<body>タグを表に示されているコードに置き換えて、それぞれの出力を取得します-

使用法 結果
<i class = "fa fa-file custom"> </ i>
<i class = "fa fa-file-archive-o custom"> </ i>
<i class = "fa fa-file-audio-o custom"> </ i>
<i class = "fa fa-file-code-o custom"> </ i>
<i class = "fa fa-file-excel-o custom"> </ i>
<i class = "fa fa-file-image-o custom"> </ i>
<i class = "fa fa-file-movie-o custom"> </ i>
<i class = "fa fa-file-o custom"> </ i>
<i class = "fa fa-file-pdf-o custom"> </ i>
<i class = "fa fa-file-photo-o custom"> </ i>
<i class = "fa fa-file-picture-o custom"> </ i>
<i class = "fa fa-file-powerpoint-o custom"> </ i>
<i class = "fa fa-file-video-o custom"> </ i>
<i class = "fa fa-file-word-o custom"> </ i>
<i class = "fa fa-file-zip-o custom"> </ i>
<i class = "fa fa-file-sound-o custom"> </ i>
<i class = "fa fa-file-text custom"> </ i>
<i class = "fa fa-file-text-o custom"> </ i>