如何在网页中使用表情符号?
How to use emojis in a webpage?
在 http://google.com's source code (view-source:https://www.google.com/) 上,有一个 meta
标签,如下所示:
<meta content="Let the matches begin! Celebrate ⚽ around the in today's #GoogleDoodle!" property="twitter:description">
那些表情符号是如何添加到源代码中的?怎么可能动态生成这样的页面(要在服务器端写什么才能生成这样的HTML)?
要将表情符号添加到 HTML,您可以使用 w3school web page 上的 table 中的十进制 (dec) 或十六进制 (hex) 参考。
您还可以通过 运行 下面的代码片段查看我的鞋子表情符号示例 :-)
<p style="font-size:50px">👟 👟</p>
在 http://google.com's source code (view-source:https://www.google.com/) 上,有一个 meta
标签,如下所示:
<meta content="Let the matches begin! Celebrate ⚽ around the in today's #GoogleDoodle!" property="twitter:description">
那些表情符号是如何添加到源代码中的?怎么可能动态生成这样的页面(要在服务器端写什么才能生成这样的HTML)?
要将表情符号添加到 HTML,您可以使用 w3school web page 上的 table 中的十进制 (dec) 或十六进制 (hex) 参考。
您还可以通过 运行 下面的代码片段查看我的鞋子表情符号示例 :-)
<p style="font-size:50px">👟 👟</p>