Skip to content

[html] 第636天 如何更改浏览器左上角标题旁的图标? #3423

Open
@haizhilin2013

Description

@haizhilin2013
Collaborator

第636天 如何更改浏览器左上角标题旁的图标?

#513

3+1官网

我也要出题

Activity

xujs0813

xujs0813 commented on Jan 11, 2021

@xujs0813

意思是修改网站图标

此图标应该为一个 .ico 的图标,常为 16*16 / 24 * 24

通过在 html 头部引入如下标签实现:

<link rel="shortcut icon" href="static/favicon.ico">
qitest

qitest commented on Jan 11, 2021

@qitest

图标在html的head进行引入,如
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">

huangGeneYu

huangGeneYu commented on Jan 14, 2021

@huangGeneYu

图标在html的head进行引入,如

wyfsama

wyfsama commented on Jan 21, 2021

@wyfsama

在head中引入
<link rel="shortcut icon" href="favicon.ico">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @haizhilin2013@xujs0813@wyfsama@huangGeneYu@qitest

        Issue actions

          [html] 第636天 如何更改浏览器左上角标题旁的图标? · Issue #3423 · haizlin/fe-interview