发现新的使用icon的方式,电脑还没好,使用记事本,star.txt, 内容如下:

<!DOCTYPE html>
<html>
<head>
  <title>Foundation 实例</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://cdn.staticfile.org/foundation/5.5.3/css/foundation.min.css">
  <link rel="stylesheet" href="https://static.runoob.com/assets/foundation-icons/foundation-icons.css">
  <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
  <script src="https://cdn.staticfile.org/foundation/5.5.3/js/foundation.min.js"></script>
  <script src="https://cdn.staticfile.org/foundation/5.5.3/js/vendor/modernizr.js"></script>
</head>
<body>
&lt;div style=&quot;padding:20px;&quot;&gt;<br />
&lt;h2&gt;图标实例&lt;/h2&gt;<br />
&lt;p&gt;Cloud icon: &lt;i class=&quot;fi-star&quot;&gt;&lt;/i&gt;&lt;/p&gt; &nbsp; &nbsp;<br />
&lt;p&gt;Cloud icon as a link:<br />
&nbsp; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;fi-star&quot;&gt;&lt;/i&gt;&lt;/a&gt;<br />
&lt;/p&gt;<br />
&lt;p&gt;Styled Cloud icon: &lt;i class=&quot;fi-cloud&quot; style=&quot;font-size:35px;color:red;&quot;&gt;&lt;/i&gt;&lt;/p&gt; &nbsp; &nbsp;<br />
&lt;p&gt;Home icon: &lt;i class=&quot;fi-home&quot;&gt;&lt;/i&gt;&lt;/p&gt;<br />
&lt;p&gt;Home icon on a button:<br />
&nbsp; &lt;button type=&quot;button&quot; class=&quot;button&quot;&gt;<br />
&nbsp; &nbsp; &lt;i class=&quot;fi-home&quot;&gt;&lt;/i&gt; Home&nbsp;<br />
&nbsp; &lt;/button&gt;<br />
&lt;/p&gt;<br />
&lt;p&gt;Home icon on a green button:<br />
&nbsp; &lt;button type=&quot;button&quot; class=&quot;button success&quot;&gt;<br />
&nbsp; &nbsp; &lt;i class=&quot;fi-home&quot;&gt;&lt;/i&gt; Home&nbsp;<br />
&nbsp; &lt;/button&gt;<br />
&lt;/p&gt;<br />
&lt;p&gt;Home icon on a large, light blue link button:<br />
&nbsp; &lt;a href=&quot;#&quot; class=&quot;button info large&quot;&gt;<br />
&nbsp; &nbsp; &lt;i class=&quot;fi-home&quot;&gt;&lt;/i&gt; Home&nbsp;<br />
&nbsp; &lt;/a&gt;<br />
&lt;/p&gt;&nbsp;<br />
&lt;/div&gt;
&lt;/body&gt;<br />
&lt;/html&gt;

然后ctrl+s,保存后,修改文件的名称为:star.html,双击打开,看到