bi-lstm图示_网站图示-简介

bi-lstm图示

You may have noticed the small icon for this blog in the URL bar and/or on the tab for the page. This icon, called a favicon, may also appear in favourites, bookmarks, and history lists. Favicons are a very simple and effective way of making your site stand out, but a significant proportion of professional developers still fail to create their own favicon branding. Coupled with an effective and succinct page title, a well-designed favicon will make your page easier to spot (especially when a user has two dozen tabs open), remember, and recover (from a bookmark list of hundreds of sites).

您可能已经在URL栏和/或页面的选项卡上注意到此博客的小图标。 此图标称为收藏夹图标 ,它也可能出现在收藏夹,书签和历史记录列表中。 网站图标是使您的网站脱颖而出的一种非常简单有效的方法,但是仍有相当一部分专业开发人员未能创建自己的网站图标品牌。 精心设计的网站图标加上有效且简洁的页面标题,将使您的页面更易于发现(尤其是当用户打开了十二个选项卡时),记住和恢复(从数百个站点的书签列表中)。

While simple favicons are good, technology has moved on since the format was first proposed in 1999: a 16 × 16 pixel favicon.ico file will continue to work in all browsers, but icons in new, larger sizes and different formats are optimal for newer browsers, platforms, and social media services.

尽管简单的网站图标很不错,但自1999年首次提出该格式以来,技术不断发展:一个16×16像素的favicon.ico文件将继续在所有浏览器中运行,但是采用新的,更大尺寸和不同格式的图标最适合用于较新的图标浏览器,平台和社交媒体服务。

All browsers support the .ico format for favicons. Many also support animated images, in .gif and .apng format, which should never be used. The other supported formats are:

所有浏览器都支持网站图标的.ico格式。 许多动画还支持.gif.apng格式的动画图像,永远不要使用。 其他受支持的格式为:

Browser version support for favicon formats
BrowserPNGJPEGSVG
Chrome1.0
IENo
Firefox1.01.0No
Opera7.07.09.6
Safari4.04.0No
浏览器版本支持网站图标格式
浏览器 PNG JPEG格式 SVG
Chrome 1.0
IE浏览器 没有
火狐浏览器 1.0 1.0 没有
歌剧 7.0 7.0 9.6
苹果浏览器 4.0 4.0 没有

An icon would be ideal in many cases: favicons are often (but not exclusively) graphical, and as vectors, SVG icons would scale to absolutely any size required. Unfortunately, as you can see, Firefox, Safari and Internet Explorer do not currently support the format, at least for favicons. Similarly, PNG would be great if we could disregard the singular exception of IE.

在许多情况下, 图标将是理想的选择:图标图标通常(但不仅限于)是图形的,并且作为矢量,SVG图标可以缩放至绝对所需的任何大小。 不幸的是,如您所见,Firefox,Safari和Internet Explorer当前不支持该格式,至少对于网站图标而言。 同样,如果我们可以忽略IE的单个例外,PNG将会很棒。

While older, the .ico format still has a number of advantages besides broad browser support: the format has the unusual capacity of being able to store multiple versions of the icon at different resolutions inside a single .ico file, rather like and layers in PSD files. Different browsers will automatically use different resolutions of the .ico file as appropriate. For this reason, I recommend taking one of three approaches in building a favicon:

尽管较旧, .ico格式除了具有广泛的浏览器支持外,还具有许多优点:该格式具有非凡的功能,能够在单个.ico文件中存储不同分辨率的多个版本的图标,而不是像和PSD文件。 不同的浏览器将根据情况自动使用.ico文件的不同分辨率。 因此,我建议采用以下三种方法之一来构建网站图标:

选项1 (Option 1)

Create a standard 16 × 16 pixel favicon as an .ico. The best supported option, but the lowest quality.

创建一个标准的16×16像素网站图标作为.ico 。 受支持的最佳选项,但质量最低。

选项2 (Option 2)

Create an advanced favicon at several resolutions, storing each version in the same file. The best quality, at the cost of significantly higher file size.

创建具有多个分辨率的高级图标 ,将每个版本存储在同一文件中。 最好的质量,但要以明显更大的文件大小为代价。

选项3 (Option 3)

Create a 96 × 96 PNG file, served as a favicon for all browsers except IE. Create a standard 16 × 16 pixel .ico file for Internet Explorer, which is left at the root of the site. This acts as a good compromise between the first two options.

创建一个96×96 PNG文件,用作 IE 之外的所有浏览器的收藏夹图标。 为Internet Explorer创建一个标准的16×16像素.ico文件,该文件保留在网站的根目录下。 这是前两个选项之间的良好折衷。

更多资源 (Further Resources)

I would strongly recommend reading Jonathan T Neal’s article on the vagaries of favicons. You can also read a brief history on the invention of the favicon by its creator, Ray Sun.

我强烈建议您阅读乔纳森·T·尼尔(Jonathan T Neal)关于网站图标变幻莫测的文章 您还可以 阅读其创建者Ray Sun 关于该图标的发明的简要历史

翻译自: https://thenewcode.com/423/Favicons-Introduction

bi-lstm图示

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值