在HTML中设置图标的大小

阅读 2773 收藏 0 点赞 0 评论 0

使用sizes 属性设置HTML中图标的大小。您可以尝试运行以下代码来实现size 属性-

示例

<!DOCTYPE html>
<html>
   <head>
      <link rel = "icon" href = "my_icon.gif" type = "image/gif" sizes = "16x16">
   </head>
   <body>
      <p>This is demo text.</p>
      <p>We set an icon here,</p>
   </body>
</html>
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号