HTML link type 属性
在下面的实例中,type 属性指示了被链接的文档是一个外部的样式表: 实例 Run this code » <head> <link rel="stylesheet" type="text/css" href="theme...
在下面的实例中,type 属性指示了被链接的文档是一个外部的样式表: 实例 Run this code » <head> <link rel="stylesheet" type="text/css" href="theme...
在下面的实例中,会在新窗口中加载被链接文档: 实例 <head> <link rel="parent" href="wildcats.htm" target="_blank"> </head> 浏览器支持...
带有指定尺寸的图标: 实例 Run this code » <link rel="icon" href="demo_icon.gif" type="image/gif" sizes="16x16"> 浏览器支持 目前几乎没有主流...
在下面的实例中,rev 属性指示当前文档是 "wildcats.htm" 的父页面: 实例 <head> <link rev="parent" href="wildcats.htm"> </head> 浏...
一个外部的样式表: 实例 Run this code » <link rel="stylesheet" type="text/css" href="theme.css"> 浏览器支持 所有主流浏览器都支持 rel 属性。 定义和...
针对两种不同的媒介类型(计算机屏幕和打印)的两种不同的样式表: 实例 Run this code » <head> <link rel="stylesheet" type="text/css" href="theme.cs...
在这里,hreflang 属性只是被链接文档是用英文编写的: 实例 Run this code » <link href="tag-link.html" rel="parent" rev="subsection" hreflang="...
链接到外部样式表: 实例 Run this code » <link rel="stylesheet" type="text/css" href="theme.css"> 浏览器支持 所有主流浏览器都支持 href 属性。 定义...
charset 属性指示被链接文档是用日文编写的: 实例 <link href="domoarigato.htm" rel="parent" charset="ISO-2022-JP"> 浏览器支持 注意:所有的主流浏览器都不支...
<noscript> 标签的使用: 实例 Run this code » <script> document.write("Hello World!") </script> <noscript>...