亚洲国产精品人久久,亚洲va国产日韩欧美精品色婷婷,久久久久88色偷偷,免费人成黄页在线观看国际

17站長(zhǎng)網(wǎng)

Html標(biāo)簽教程

HTML <!DOCTYPE> 聲明HTML <!--...--> 注釋標(biāo)簽HTML <bdi> 標(biāo)簽HTML <base> 標(biāo)簽HTML <b> 標(biāo)簽HTML <audio> 標(biāo)簽HTML <article> 標(biāo)簽HTML <aside> 標(biāo)簽HTML <area> 標(biāo)簽HTML <address> 標(biāo)簽HTML <abbr> 標(biāo)簽HTML <a> 標(biāo)簽HTML <cite> 標(biāo)簽HTML <canvas> 標(biāo)簽HTML <caption> 標(biāo)簽HTML <button> 標(biāo)簽HTML <br/> 標(biāo)簽HTML <body> 標(biāo)簽HTML <blockquote> 標(biāo)簽HTML <bdo> 標(biāo)簽HTML <command> 標(biāo)簽HTML <colgroup> 標(biāo)簽HTML <code> 標(biāo)簽HTML <col> 標(biāo)簽HTML <del> 標(biāo)簽HTML <details> 標(biāo)簽HTML <dd> 標(biāo)簽HTML <datalist> 標(biāo)簽HTML <em> 標(biāo)簽HTML <dt> 標(biāo)簽HTML <dl> 標(biāo)簽HTML <div> 標(biāo)簽HTML <dialog> 標(biāo)簽HTML <dfn> 標(biāo)簽HTML <header> 標(biāo)簽HTML <form> 標(biāo)簽HTML <head> 標(biāo)簽HTML <footer> 標(biāo)簽HTML <font> 標(biāo)簽HTML <figure> 標(biāo)簽HTML <figcaption> 標(biāo)簽HTML <embed> 標(biāo)簽HTML <fieldset> 標(biāo)簽HTML <kbd> 標(biāo)簽HTML <ins> 標(biāo)簽HTML <img> 標(biāo)簽HTML <input> 標(biāo)簽HTML <i> 標(biāo)簽HTML <hr> 標(biāo)簽HTML <html> 標(biāo)簽HTML <h1> - <h6> 標(biāo)簽HTML5 <hgroup>標(biāo)簽HTML <map> 標(biāo)簽HTML <link> 標(biāo)簽HTML <li> 標(biāo)簽HTML <label> 標(biāo)簽HTML <legend> 標(biāo)簽HTML <keygen> 標(biāo)簽HTML <object> 標(biāo)簽HTML <noscript> 標(biāo)簽HTML <meter> 標(biāo)簽HTML <nav> 標(biāo)簽HTML <meta> 標(biāo)簽HTML <menu> 標(biāo)簽HTML5 <mark> 標(biāo)簽HTML <option> 標(biāo)簽HTML <output> 標(biāo)簽HTML <optgroup> 標(biāo)簽HTML <ol> 標(biāo)簽HTML <rp> 標(biāo)簽HTML <rt> 標(biāo)簽HTML <q> 標(biāo)簽HTML <progress> 標(biāo)簽HTML <pre> 標(biāo)簽HTML <param> 標(biāo)簽HTML <p> 標(biāo)簽HTML <script> 標(biāo)簽HTML <samp> 標(biāo)簽HTML <s> 標(biāo)簽HTML <ruby> 標(biāo)簽HTML <style> 標(biāo)簽HTML <strong> 標(biāo)簽HTML <strike> 標(biāo)簽HTML <span> 標(biāo)簽HTML <source> 標(biāo)簽HTML <small> 標(biāo)簽HTML <select> 標(biāo)簽HTML <section> 標(biāo)簽HTML <tfoot> 標(biāo)簽HTML <th> 標(biāo)簽HTML <textarea> 標(biāo)簽HTML <td> 標(biāo)簽HTML <tbody> 標(biāo)簽HTML <table> 標(biāo)簽HTML <sup> 標(biāo)簽HTML <sub> 標(biāo)簽HTML <summary> 標(biāo)簽HTML <video> 標(biāo)簽HTML <var> 標(biāo)簽HTML <ul> 標(biāo)簽HTML <u> 標(biāo)簽HTML <tt> 標(biāo)簽HTML <track> 標(biāo)簽HTML <tr> 標(biāo)簽HTML <title> 標(biāo)簽HTML <time> 標(biāo)簽HTML <thead> 標(biāo)簽HTML <wbr> 標(biāo)簽

HTML <link> 標(biāo)簽

html <link> 標(biāo)簽定義文檔與外部資源的關(guān)系

<link> 標(biāo)簽最常見的用途是鏈接樣式表

link 元素是空元素,它僅包含屬性

此元素只能存在于 head 部分,不過它可出現(xiàn)任何次數(shù)

屬性

屬性 描述
charset char_encoding html5 不支持該屬性
定義被鏈接文檔的字符編碼方式
href URL 定義被鏈接文檔的位置
hreflang language_code 定義被鏈接文檔中文本的語言
media media_query 設(shè)置被鏈接文檔將顯示在什么設(shè)備上
rel alternate
archives
author
bookmark
external
first
help
icon
last
license
next
nofollow
noreferrer
pingback
prefetch
prev
search
sidebar
stylesheet
tag
up
必需。定義當(dāng)前文檔與被鏈接文檔之間的關(guān)系
rev reversed relationship HTML5 不支持該屬性。定義被鏈接文檔與當(dāng)前文檔之間的關(guān)系
sizes HeightxWidthany 定義了鏈接屬性大小,只對(duì)屬性 rel="icon" 起作用
target _blank
_self
_top
_parent
frame_name
HTML5 不支持該屬性
定義在何處加載被鏈接文檔
type MIME_type 設(shè)置被鏈接文檔的 MIME 類型

范例

鏈接到外部樣式文件

<head>
<link rel="stylesheet" href="/static/media/html/styles.css">

HTML 4.01 與 HTML5 之間的差異

一些 HTML 4.01 屬性在 HTML5 中不支持

HTML5 新增了 "sizes" 屬性

HTML 與 XHTML 之間的差異

HTML 中,<link> 標(biāo)簽沒有結(jié)束標(biāo)簽

XHTML 中,<link> 標(biāo)簽必須被正確地關(guān)閉

返回頂部