HTML:HyperText Markup Language,是一個用來建構網頁結構的一種標籤語法,以下是各版本的發佈年份。
年份 | 版本 |
---|---|
1993 | HTML |
1995 | HTML 2.0 |
1997 | HTML 3.2 |
1997 | HTML 4 |
1999 | HTML 4.01 |
2000 | XHTML |
2014 | HTML 5 |
撰寫HTML文件時,第一行可以宣告本文件所採用的版本,例如:
HTML 5
<!DOCTYPE html>
XHTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
HTML 4.01
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
其中XHTML強制每個標籤都要有結束,如果沒有外部封閉標籤的,需使用內部封閉的方式,例如:
外部封閉:<p>內容1</p><p>內容2</p>
內部封閉:內容1<br />內容2
目前大部分的瀏覽器都支援HTML5,但若要IE8以前的瀏覽器支援,請加入下面的語法:
<!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]-->
想要測試自己的瀏覽器是不是完全支援所有的HTML5標籤,可以到這個網站來測試看看,以下是為大家整理的HTML標籤:
標籤 | 說明 | 備註 |
---|---|---|
<html></html> | 建構整份網頁文件 | |
<head></head> | 網頁描述資料 | |
<body></body> | 網頁內容 |
標籤 | 說明 | 備註 |
---|---|---|
<title></title> | 網頁標題 | |
<base> | 連結參考 | 針對相對路徑的參考位置 |
<meta> | 頁面描述資料 | 關鍵字、描述…等 |
<style></style> | CSS樣式 | 直接在網頁文件中撰寫CSS樣式 |
<script></script> | Javascript語法 | 直接在網頁文件中撰寫Javascript樣式 |
<noscript></noscript> | 不支援語法時顯示訊息 | |
<link> | 連結外部檔案 | 例如:CSS樣式表、網頁圖示檔…等 |
標籤 | 說明 | 備註 |
---|---|---|
<h1></h1>~<h6></h6> | 標題 | 數字越小權重越高 |
<p></p> | 段落 | |
<br> | 跳行 | |
<wbr> | 文字過長則斷行 | HTML 5新增 |
<hr> | 水平線 | |
<table></table> | 表格 | |
<th></th> | 標題欄位 | |
<tr></tr> | 列 | |
<td></td> | 欄 | |
<caption></caption> | 表格標題 | |
<colgroup></colgroup> | 欄群組 | |
<col> | 欄群組屬性設定 | |
<thead></thead> | 表格標題群組 | |
<tbody></tbody> | 表格內容群組 | |
<tfoot></tfoot> | 表格頁尾群組 | |
<ul></ul> | 定義無順序清單 | |
<ol></ol> | 定義有順序清單 | |
<li></li> | 清單項目 | |
<dl></dl> | 定義描述清單 | |
<dt></dt> | 描述項目 | |
<dd></dd> | 項目說明 | |
<div></div> | 定義區塊型的區域 | |
<span></span> | 定義單行型的區域 | |
<header></header> | 定義網頁標題區域 | HTML 5新增 |
<nav></nav> | 定義網頁導覽區域 | HTML 5新增 |
<main></main> | 定義網頁主內容區塊 | HTML 5新增 |
<section></section> | 定義網頁章節區域 | HTML 5新增 |
<article></article> | 定義網頁內容區域 | HTML 5新增 |
<aside></aside> | 定義網頁邊欄區域 | HTML 5新增 |
<footer></footer> | 定義網頁頁尾區域 | HTML 5新增 |
<details></details> | 定義詳細訊息 | HTML 5新增 |
<summary></summary> | 定義詳細訊息總結 | HTML 5新增 |
<iframe></iframe> | 內嵌頁框 | |
<menuitem></menuitem> | 彈出式選單內容 | HTML 5新增(僅Firefox支援) |
標籤 | 說明 | 備註 |
---|---|---|
<b></b> | 粗體字 | |
<strong></strong> | 粗體字 | 除了文字樣式上變粗之外,語意上也有加強的意思 |
<i></i> | 斜體字 | |
<em></em> | 斜體字 | 除了文字樣式上變斜之外,語意上也有強調的意思 |
<small></small> | 較小的字 | |
<mark></mark> | 突顯的字 | HTML 5新增 |
<del></del> | 刪除的字 | |
<ins></ins> | 加入的字 | |
<sub></sub> | 下標字 | |
<sup></sup> | 上標字 | |
<q></q> | 引用 | 用於較短的文字引用 |
<blockquote></blockquote> | 引用 | 用於較長的文字引用,利用cite屬性說明出處 |
<abbr></abbr> | 縮寫字說明 | 利用title屬性說明縮寫字 |
<address></address> | 聯絡資訊 | |
<cite></cite> | 作品標題 | |
<bdo></bdo> | 文字方向 | 利用dir屬性決定方向(ltr:由左向右、rtl:由右向左) |
<dfn></dfn> | 術語 | |
<kbd></kbd> | 鍵盤輸入 | 表達需要使用者用鍵盤按下某按鍵 |
<samp></samp> | 電腦回饋內容 | |
<code></code> | 程式碼 | |
<pre></pre> | 預先格式化 | 內容會按照在HTML中的排版來顯示 |
<var></var> | 變數 | |
<ruby></ruby> | 文字音標 | HTML 5新增 |
<rt></rt> | 文字音標內容 | HTML 5新增 |
<rp></rp> | 不支援文字音標時顯示 | HTML 5新增 |
<time></time> | 定義日期時間 | HTML 5新增 |
<bdo></bdo> | 反向文字 | HTML 5新增 |
<bdo></bdo> | 對話框 | HTML 5新增 |
<figure></figure> | 圖片說明 | HTML 5新增 |
<figcaption></figcaption> | 圖片說明內容 | HTML 5新增 |
標籤 | 說明 | 備註 |
---|---|---|
<a></a> | 超連結 |
標籤 | 說明 | 備註 |
---|---|---|
<img> | 圖片 | |
<map></map> | 影像連結地圖 | |
<area></area> | 影像連結區域 | |
<svg></svg> | 網頁向量圖檔 | HTML 5新增 |
標籤 | 說明 | 備註 |
---|---|---|
<form></form> | 表單範圍 | |
<input> | 表單輸入項目 | |
<fieldset></fieldset> | 表單欄位群組 | |
<legend></legend> | 表單欄位群組名稱 | |
<select></select> | 表單選單 | |
<optgroup></optgroup> | 表單選單選項群組 | |
<option></option> | 表單選單選項 | |
<textarea></textarea> | 表單文字區域 | |
<button></button> | 表單按鈕 | |
<datalist></datalist> | 表單資料清單 | |
<keygen> | 表單金鑰產生欄位 | HTML 5新增 |
<output></output> | 表單計算結果欄位 | |
<meter></meter> | 量度圖形 | HTML 5新增 |
<progress></progress> | 進度圖形 | HTML 5新增 |
標籤 | 說明 | 備註 |
---|---|---|
<canvas></canvas> | 畫布區域 | HTML 5新增 |
<audio></audio> | 聲音內容 | HTML 5新增 |
<video></video> | 視訊內容 | HTML 5新增 |
<source> | 內容來源 | HTML 5新增 |
<track> | 內容字幕指定 | HTML 5新增 |
<embed> | 外部程式內容嵌入 | HTML 5新增 |
<object></object> | 外部程式內容嵌入 | HTML 5新增 |
Отличный сайт! Всем рекомендую!проститутки СПб
priligy precio 2000; 7 269 280
Here is my homepage … PokerTube – Watch Free Poker Videos & TV Shows
Headaches and just plain winded.
Want to rock your sexual problems? Click here arimistane vs nolvadex . Get one now! You can’t find more affordable prices.
The method described by Bierer and Steiner14 and used by Barr19 is manual dilation under anesthesia the day before the procedure, followed by placement of a number of Laminaria sticks.
Convert BTC to PayPal with ease and enjoy quick access to your funds.
как купить боевой пм
Convert your Bitcoin to PayPal quickly and securely with our trusted exchange service.
Here is my web page – Daycare Near Me By State
Here is my homepage Daycares popular listings
Обвинения против кооператива «Бест Вей» кажутся мне полным абсурдом. Все было сделано для того чтобы создать ложное впечатление о мошенничестве а на самом деле кооператив всегда выполнял свои обязательства. Никаких доказательств против «Бест Вей» нет а обвинения построены на ненадежных и старых данных. Насколько я понимаю следственные органы и прокуратура намеренно манипулируют ситуацией чтобы прикрыть свои собственные ошибки и корыстные интересы. Как можно игнорировать очевидные факты и поддерживать сфальсифицированные обвинения? Мы требуем чтобы все факты были тщательно проверены и виновные в этом беспределе были наказаны. Мы не позволим разрушить наши мечты и жизнь из-за чьих-то корыстных намерений.
The Paralympic Games are an worldwide multi-sport event in the interest athletes with disabilities. Held alongside the Olympic Games, these games hallmark a differing chain of sports adapted to many abilities. They were established to present opportunities on athletes with corporeal and mental impairments to fight at the highest steady and demonstrate their implausible talents http://paralympicgames2024.ru.
priligy medicine 9 Da Figure 1 is a rifamycin antimicrobial agent and a structural analog of rifampin
The Paralympic Games are an oecumenical multi-sport event in the service of athletes with disabilities. Held alongside the Olympic Games, these games main attraction a mixed orbit of sports adapted to many abilities. They were established to provide opportunities for athletes with solid and frame of mind impairments to joust at the highest level and exhibit their humongous talents http://paralympicgames2024.ru/.
The latest on the Paris Olympics cryptoboss зеркало The Olympic tennis tournament is underway but the red clay of Roland Garros is missing some of the sport’s biggest stars including world no. 1 Jannik Sinner. While some are sidelined by illnesses and injuries others are abstaining as a result of the professional circuit’s brutal schedule this summer. Between the French Open Wimbledon and the US Open summer is always a busy season for those chasing an elusive Grand Slam title. Though the rest of the sports world sees the Olympics as the ultimate competition the Games’ anthem falls flat amidst the prestigious yearly summer tournaments in Paris London and New York. http://cryptobossca.online cryptoboss casino официальный Ben Shelton the rising 21-year-old US star ranked No. 14 in the world said the Olympics fall at a tough time in the tournament schedule as he will be coming off a stint in Europe and wants to prepare for the US Open. “Having to go back to Europe to play on clay a different surface – it kind of messes up a few lead-up tournaments to the US Open that I would play if I wasn’t playing the Olympics” Shelton told reporters in the spring.
It is my belief that mesothelioma is most lethal cancer. It contains unusual properties. The more I actually look at it the harder I am persuaded it does not act like a true solid tissues cancer. When mesothelioma is usually a rogue viral infection, hence there is the potential for developing a vaccine along with offering vaccination to asbestos exposed people who are vulnerable to high risk regarding developing long run asbestos linked malignancies. Thanks for giving your ideas for this important ailment.
Отличный сайт! Всем рекомендую!проститутки
Your blog post was so relatable – it’s like you were reading my mind! Thank you for putting my thoughts into words.
Excessive heat can premier to heat-related illnesses such as excitement lassitude and heatstroke. Unguarded populations include the past it, inexperienced children, and individuals with habitual illnesses http://excessiveheatawareness.ru/.
Добрый день!
Приобрести диплом университета
vip-forum.com/threads/kupit-diplom-rossija-e239e.1902
Hello there! Do you know if they make any plugins to protect against hackers? I’m kinda paranoid about losing everything I’ve worked hard on. Any tips?
Nice post. I be taught something tougher on totally different blogs everyday. It is going to at all times be stimulating to learn content from other writers and observe a little one thing from their store. I?d want to make use of some with the content on my weblog whether you don?t mind. Natually I?ll give you a hyperlink on your net blog. Thanks for sharing.
Th is content has be en done with GSA Cont ent Gene rator DEMO.
John F. Grundhofer, chairman and chief executive of First Financial institution, was appointed president and chief executive of the brand new firm whereas Gerry B. Cameron, chairman, and chief government of U.S.
After checking out a handful of the blog posts on your blog, I seriously appreciate your technique of writing a blog. I book-marked it to my bookmark website list and will be checking back in the near future. Please visit my website too and let me know your opinion.
Wow! This could be one particular of the most helpful blogs We have ever arrive across on this subject. Actually Fantastic. I’m also an expert in this topic so I can understand your hard work.
Artic le was gen erated with GSA C ontent Generator Demover sion.
The Institute for Indian Mom and Baby (IIMC) is a non-governmental organization (NGO).
Institutional prospects might sample merchandise and Sexton salesmen may develop contacts and sales leads.
The small Communist Social gathering was usually supportive.
Forward testing the algorithm is the subsequent stage and involves running the algorithm by an out of pattern data set to ensure the algorithm performs within backtested expectations.