What's the correct way to hide the

tag and not be banned from Google?

前端 未结 10 1327
予麋鹿
予麋鹿 2021-02-07 00:54

The website I am working on uses an image defined in CSS as the main logo. The html code looks like this:

Something.com | The best something ever

10条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-07 01:10

    Resizing the block would work:

    h1 {
        overflow: hidden;
        width: 1px;
        height: 1px;
    }
    

提交回复
热议问题