link: 文件资源关联

2017-06-05 14:23:00
admin
原创
376
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
 <title>元素link</title>
 <link href="default.css" rel="stylesheet" type="text/css">
 <link media="print" title="The manual in postscript" type="application/postscript" rel="alternate" href="http://someplace.com/manual/postscript.ps">
 <link rel="Start" title="The first page of the manual" type="text/html" href="index.html">
 </head>
 <body>
 此文档链接了外部样式表default.css <a href="start">the front page</a><hr><p>Authors may use the LINK element to provide a variety of information to search engines, including:</p>
 <p>Links to alternate versions of a document, written in another human language. <br>
 Links to alternate versions of a document, designed for different media, for instance a version especially suited for printing. <br>
 Links to the starting page of a collection of documents. <br>
 The examples below illustrate how language information, media types, and link types may be combined to improve document handling by search engines.</p>
 <p>In the following example, we use the hreflang attribute to tell search engines where to find Dutch, Portuguese, and Arabic versions of a document. Note the use of the charset attribute for the Arabic manual. Note also the use of the lang attribute to indicate that the value of the title attribute for the LINK element designating the French manual is in French.<br>
 </p>
 </body>
 </html>
文章分类
联系我们
电话: 18902328227
Email: 2689701946@qq.com
QQ: 2689701946
微信: 18902328227
地址: 广州番禺区繁华路
  • 在线客服
  • 关注微信
  • 联系电话
    • 欢迎咨询
    • 欢迎加入QQ群 303257430
  • 公众号:源宝网络
    • 联系电话及微信号 18902328227