fontsawesome图标不使用链接在HTML文件中工作
我已经厌倦了编写代码,但是在网页上没有显示图标,我尝试更改仍然看不见的背景。
I have been tired of writing code but the icon is not shown on the Web page, I have tried changing the background still not seen.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要添加fontawesome图标,您首先需要在
建立帐户后,只需转到 https://fontawesome.com/kits 为您的项目。制作新套件非常容易。您只需要遵循他们给出的说明即可。
最后,您将能够看到“将工具包的代码添加到项目”之类的东西。从那里复制套件代码并将其粘贴到HTML文件的标头部分中。
这是如何将其链接到HTML文件的示例。 (请注意,这不会显示任何内容,因为这不是一个有效的Fontawesome套件。)
谢谢,最好的问候!
to add fontawesome icons, you first need to make an account on https://fontawesome.com.
Once you made an account, then simply go to https://fontawesome.com/kits to make a new kit for your project. It is very easy to make a new kit on their. All you need is to just follow the instructions given by them.
Finally you will be able to see something like "Add Your Kit's Code to a Project". Copy kit code from there and paste it in the header part of your HTML file.
Here is an example of how to link it to your HTML file. (Please note that this won't display anything because this is not a valid fontawesome kit.)
Thanks and best regards!