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新增 |
It’s difficult to find knowledgeable people on this topic, but you sound like you know what you’re talking about! Thanks
Как избежать дубликатов номеров в вашем бизнесе Как определить наличие дубликатов номеров в вашей базе и как их избежать для повышения эффективности вашей деятельности рекомендации от специалистов надежные рекомендации лучшие практики по обработке информации Простые шаги по удалению дубликатов номеров которые помогут вам сохранить качество информации и сохранить точность информации изготовление дубликатов номеров автомобиля изготовление дубликатов номеров автомобиля .
As we mentioned earlier in this article, there are two motives for buying futures contracts: One is for hedging commodity price changes and the other for making money out of those inevitable changes.
Online medicine order: Indian pharmacy international shipping – reputable indian pharmacies
Passing marks required for clearing the test of this module is 50.
http://edpillpharmacy.store/# ed meds by mail
24 Dec 2001: The TAIEX options.
slot
One of Kissmetrics’ signature features is the Path Report, which tells you the specific routes customers tend to use on your site.
http://edpillpharmacy.store/# ed medications cost
where can i buy ed pills ed meds by mail or online erectile dysfunction pills https://toolbarqueries.google.com.tr/url?q=https://edpillpharmacy.store cheap ed pills online where to buy erectile dysfunction pills what is the cheapest ed medication and п»їed pills online get ed meds today
Great site! I recommend it to everyone!Book private flights
http://indiapharmacy.shop/# best india pharmacy
cheapest ed medication ed prescriptions online or online erectile dysfunction https://maps.google.by/url?q=https://edpillpharmacy.store buy erectile dysfunction pills online erectile dysfunction ed doctor online and ed meds cheap low cost ed pills
mexican drugstore online: mexico pharmacy win – purple pharmacy mexico price list
Manchester City was founded in 1880 as St. Mark’s, while Manchester United was founded in 1878 as Newton Heath. The first encounter between these two clubs took place in 1881, and since then, their rivalry has become one of the most anticipated events in English football https://manchestercityvsmanchesterunited.ru/.
Over the years, both clubs have experienced various successes. Manchester United dominated English football in the 1990s and early 2000s under Sir Alex Ferguson, while Manchester City has emerged as a leading force in recent decades due to significant investment and improvements in club infrastructure https://manchestercityvsmanchesterunited.ru/.
erectile dysfunction medications online best online ed medication or how to get ed pills http://www.a-31.de/url?q=https://edpillpharmacy.store buy erectile dysfunction treatment cheapest erectile dysfunction pills pills for ed online and ed doctor online ed doctor online
india pharmacy: Indian pharmacy international shipping – buy prescription drugs from india
п»їlegitimate online pharmacies india india pharmacy or online shopping pharmacy india https://www.google.co.id/url?sa=t&url=https://indiapharmacy.shop best india pharmacy best india pharmacy buy medicines online in india and india pharmacy mail order mail order pharmacy india
online slot
cheapest online pharmacy india п»їlegitimate online pharmacies india or buy prescription drugs from india https://www.google.com.uy/url?q=https://indiapharmacy.shop indian pharmacies safe indian pharmacy online mail order pharmacy india and buy medicines online in india indian pharmacy
Fafabet South Africa fafabet soccer betting south africa Step into the thrilling universe of Fafabets casino a place pulsating with excitement and brimming with opportunities for big wins Whether youre a seasoned gambler or a curious newcomer this review will guide you through the vibrant selection of top-tier games enticing bonuses effective strategies and seamless mobile play. Get ready to transform your gaming experience and discover why Fafabet is the go-to destination for online casino enthusiasts Best Casino Games at Fafabet brings the excitement of a real casino directly to your screen featuring a curated selection of games that cater to both new and seasoned players. The focus on popular games such as roulette blackjack and poker ensures a varied and engaging experience providing options for strategic play quick wins and everything in between. This selection is not just about variety; its tailored to enhance player engagement and retention. The inclusion of games with different levels of complexity and reward strategies meets the diverse needs and preferences of the global online gambling community making Fafabet a top choice for live casino enthusiasts. Choose Your Game: Online Roulette Blackjack Poker The heart of Fafabets live casino lies in its comprehensive offering of classic games which are among the most popular and enduring in the gambling world. Lets focus on the star of the casino floor: Roulette. This game not only attracts players with its simplicity and elegance but also offers various versions to suit different tastes and betting styles.
online erectile dysfunction medication how to get ed meds online or ed pills cheap http://cse.google.com.et/url?sa=t&url=http://edpillpharmacy.store online ed medicine where to buy ed pills ed prescriptions online and erectile dysfunction online buy ed medication online
Benefits of mobile application pin-up casino download apk Today it is very popular among gambling companies to create mobile applications for the users who use the phone the most. Many users download a pin-up program to take advantage of this program which is the functionality of the browser version of the gambling platform. If you decide to download the Pin-up mobile application you can use this application. The companys employees care about the comfort of their users. The program has many fans from the world of gambling. The company has worked hard to develop the program. the profit intuitive interface; attractive design; Various sporting events and gambling entertainments; high speed of application; economical use of Internet traffic; Fixed access to the application unlike the browser version. where to download apps for android There are several ways to download a pin-up program: The download file is downloaded directly from the official website of the virtual gambling company. This is the safest and most reliable method because you do not need to be afraid of scammers when downloading from the site; It is also recommended to download programs from third-party sites but first you need to make sure that it is the original file as scammers can offer you the wrong file. Downloading the file is very fast and simple even the most inexperienced user can easily install this program. On the official website of the company there are detailed instructions on how to install the file on Android.
discount ed pills ed medications cost or buy ed meds https://www.google.co.in/url?q=https://edpillpharmacy.store cheap erectile dysfunction pills erectile dysfunction medications online ed rx online and ed meds on line where can i buy ed pills
Online medicine order: Indian pharmacy international shipping – online pharmacy india https://indiapharmacy.shop/# online shopping pharmacy india online shopping pharmacy india Indian pharmacy international shipping mail order pharmacy india
Tusk casino in South Africa https://christinecrenee.com/ Tusk Casino Online has been available to South African users for a number of years. The company which has been operating since 2020 offers a lucrative environment for betting on slot machines. After depositing a player can play on one of several thousand slot machines. The brand offers lucrative bonuses a user-friendly website and a dedicated mobile version for smartphones and tablets. What Tusk Casino offers Licence: Curacao eGamingB2C-82PETY-8W-1668JAZ; Payment methods: Skrill Visa Western Union InstaDebit Mastercard Neteller AstroPay Boleto Bancario Bitcoin Neosurf Litecoin Ethereum MuchBetter eZeeWallet Bank Wire; Mobile App: None; Casino games: Slots jackpots live casino megaways table games roulette cards; Game suppliers game developers: 48 Play’nGo Fugaso NetEnt Booongo Microgaming PragmaticPlay Wazdan Amatic and others; VIP programme: Has; Minimum deposit: 25 ZAR; Minimum withdrawal: 1000 ZAR; Bonuses: Welcome Bonus Refer A Friend Weekly Cashback Reload; Support communication channels: Online chat feedback form on website helptuskcasino.com. Should you trust Tusk Casino? Before placing your bets it is worth checking the information about the project. Tusk Casino is a modern resource with various reviews and feedback from experts. It is believed that the company offers favourable conditions for leisure gambling. In particular the company has gained popularity thanks to its licence and quality certificates. All the software has undergone the necessary laboratory tests. By the way much of Tusk Casino’s online functionality works without registration. In guest mode you can browse the catalogue test the software in demo mode and view the information blocks. It is also easy to contact user support. Overall the brand has an excellent reputation in the South African market. It continues to expand its services to Europe Asia and other continents.
Online medicine home delivery: Online pharmacy USA – п»їlegitimate online pharmacies india http://edpillpharmacy.store/# ed meds cheap best ed meds online ED meds online with insurance best online ed meds
online ed drugs buy erectile dysfunction pills or ed medications online https://www.google.ee/url?q=https://edpillpharmacy.store erectile dysfunction online prescription cheap erection pills buying erectile dysfunction pills online and where can i get ed pills low cost ed medication