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新增 |
purple pharmacy mexico price list mexico drug stores pharmacies or buying prescription drugs in mexico https://cse.google.ne/url?sa=t&url=https://mexicopharmacy.cheap mexico drug stores pharmacies purple pharmacy mexico price list mexican rx online and mexico drug stores pharmacies mexican drugstore online
http://indianpharmacy.company/# top online pharmacy india
Online medicine home delivery: world pharmacy india – india pharmacy
world pharmacy india best online pharmacy india or top 10 pharmacies in india https://cse.google.com.sa/url?sa=i&url=https://indianpharmacy.company п»їlegitimate online pharmacies india mail order pharmacy india pharmacy website india and indianpharmacy com top 10 pharmacies in india
I conceive this website has got very excellent composed written content content .
buy prescription drugs from india: buy medicines online in india – best online pharmacy india https://mexicopharmacy.cheap/# mexican rx online
Отличный сайт! Всем рекомендую!Slivkursov
Online medicine home delivery india pharmacy mail order india pharmacy mail order
Naturally I like your web-site, but you have to take a look at the spelling on quite a few of your posts. A number of them are rife with spelling issues and I find it very bothersome to tell you. On the other hand I’ll surely come back again!
prevacid pharmacy coupons order cialis online pharmacy or minocycline online pharmacy https://maps.google.pt/url?q=https://pharmbig24.com asda pharmacy ventolin Aebgmearp clozapine polypharmacy and cialis usa pharmacy Precose
Allergic rhinitis is the most common complaint as winter fades away and the flowers and trees start to bud and blossom.
Any time you happen to be searching the web for a great remedy, is rybelsus covered by medicare guarantee top performance?
April 8 very light amount of reddish pink CM once in afternoon..
Because of the unique way in which HIV attacks and disarms the immune system, all kinds of bacteria, fungi, protozoa, viruses and cancers are able to invade the body.
Many sites offer a good price of prozac medication at consistently low prices
Home Professional Reference History Taking History Taking 445 Users are discussing this topic Article Discuss Print PDF Email Bookmark Bookmarked Remove?
mexican pharmaceuticals online medication from mexico pharmacy or medication from mexico pharmacy https://maps.google.com.gi/url?sa=t&url=https://mexicopharmacy.cheap mexico drug stores pharmacies purple pharmacy mexico price list buying from online mexican pharmacy and purple pharmacy mexico price list mexico drug stores pharmacies
mexico drug stores pharmacies mexican pharmaceuticals online mexico drug stores pharmacies
indian pharmacy: best india pharmacy – india online pharmacy
Журнал Esquire представляет новую коллекцию мужских ароматов которая станет настоящим украшением для современных мужчин. Эти ароматы идеально подойдут для использования в повседневной жизни и на работе. Однако Евгений Майер напоминает о важности отказа от парфюмов перед лазерной эпиляцией.Коллекция включает четыре уникальные композиции каждая из которых отражает богатое литературное наследие журнала и выдающихся авторов таких как Ф. Скотт Фицжеральд и Э. Э. Каммингс. Главный редактор Esquire Майкл Себастьян отметил что интерес читателей к мужской парфюмерии и уходу за собой стал стимулом для создания этой линии.Ароматы такие как American Novelist и Editor in Chief призваны стать верными спутниками для представителей медиа и литераторов подчеркивая их индивидуальность и стиль. Однако перед процедурами эпиляции диодным лазером как подчеркивает создатель высококачественных диодных лазеров для эпиляции MAYER SAPPHIRE и сооснователь студии Mayer Studio Евгений Майер рекомендуется воздерживаться от использования любых парфюмов туалетной воды и духов.Евгений Майер объясняет что резкие запахи могут отвлечь косметолога от работы и снизить его концентрацию что в свою очередь может привести к снижению эффективности процедуры или даже к травмам кожи. Он подчеркивает что пациенты должны доверять косметологу самое ценное — свою кожу поэтому важно обеспечить максимальный комфорт и безопасность во время сеанса. Евгений Майер – лазер для эпиляции
Hi this is somewhat of off topic but I was wondering if blogs use WYSIWYG editors or if you have to manually code with HTML. I’m starting a blog soon but have no coding knowledge so I wanted to get guidance from someone with experience. Any help would be greatly appreciated!
Prevacid circle rx pharmacy or pharmacy dispensing clozaril http://www.activecabarete.com/links/index.php?http://pharmbig24.com/ Tetracycline over the counter online pharmacy viagra at guardian pharmacy and triamcinolone cream online pharmacy cymbalta target pharmacy
url=https://playpromocode.com/cs2/csgoluck/CSGOLuck промокоды/url url=https://playpromocode.com/dota2/tastydrop/тестидроп промо/url url=https://playpromocode.com/rust/rustcases/-/url url=https://playpromocode.com/standoff/ggstandoff/GGStandoff промо код/url
buying prescription drugs in mexico п»їbest mexican online pharmacies mexico drug stores pharmacies
url=https://promokodi.me/standoff/ggstandoffGGStandoff промокоды/url url=https://promokodi.me/cs2/forcedropФорсДроп промо/url url=https://promokodi.me/cs2/case-battleCSGO SKINS промо код/url
Hello there! This post couldn’t be written any better! Reading this post reminds me of my previous room mate! He always kept talking about this. I will forward this page to him. Pretty sure he will have a good read. Thanks for sharing!
mexican pharmaceuticals online: buying prescription drugs in mexico online – mexican pharmaceuticals online
National Park calls out ‘world changing’ impact of dropped Cheetos bag kra4 cc Plain water is the only thing visitors are allowed to consume inside the huge cavern at Carlsbad Caverns National Park in New Mexico. Cheetos are a no-go and the recent park visitor who dropped a bag full of them created a “huge impact” on the cave’s ecosystem the park said Friday in a Facebook post. “At the scale of human perspective a spilled snack bag may seem trivial but to the life of the cave it can be world changing” the park said in its post about the garbage found off-trail in the Big Room. https://kra06.gl kra12.cc “The processed corn softened by the humidity of the cave formed the perfect environment to host microbial life and fungi. Cave crickets mites spiders and flies soon organize into a temporary food web dispersing the nutrients to the surrounding cave and formations. Molds spread higher up the nearby surfaces fruit die and stink. And the cycle continues.” The park said rangers spent 20 minutes carefully removing molds and foreign debris from surfaces inside the cave noting that while some members of the ecosystem that rose from the snacks were cave-dwellers “many of the microbial life and molds are not.” The post called that particular impact on the cave “completely avoidable” contrasting it with the hard-to-prevent fine trails of lint left by each visitor. “Great or small we all leave an impact wherever we go. Let us all leave the world a better place than we found it” the post urged park goers. The park’s website says that eating and drinking anything other than plain water attracts animals into the cavern. Carlsbad Caverns followed up its post about the Cheetos bag with a post about the “leave no trace” principle of disposing of waste properly. “Contrary to popular belief the cave is NOT a big trash can” the post said yet rangers pick up waste left behind every day. “Sometimes this can be a gum wrapper or a tissue other times it can unfortunately mean human waste spit or chewing tobacco.” Visitors are asked to make sure they don’t leave trash in the cavern and to use designated restrooms.
Remember when Lady Gaga ‘bled’ onstage during her shocking performance at the 2009 VMAs? порно жесток Singing about the perils of fame being dragged out from beneath a fallen chandelier then bleeding to death in front of a roomful of celebrities: Lady Gaga was not shy about making her debut at the MTV Video Music Awards. The year was 2009 — many will remember it as the year rapper Ye formerly Kanye West stage-crashed 19-year-old Taylor Swift and suggested her award for Best Female Video should have gone to Beyonce instead. But never one to be overshadowed Lady Gaga then 23 made some pop culture history of her own that night. Her rendition of “Paparazzi” — lamenting both unrequited love and the sinister effects of hounding tabloids — has gone down in the mists of Gaga legend; not least because a lack of high-quality footage means fans must resort to watching grainy screen-recorded versions circulated on social media. Over the limited number of pixels Gaga can be seen at the start of the performance in an all-white ensemble: a bejeweled asymmetric lace bodysuit and matching cape thigh-high boots a feathered Keko Hainswheeler headpiece and strings of glinting pearls. As she staggered back from her piano at the song’s crescendo however an audible gasp swept the room as thick blood suddenly appeared to be pouring from her abdomen. “I’m your biggest fan I’ll follow you until you love me” Gaga wailed desperately her once-pristine outfit now daubed in scarlet. She ended the number suspended above the stage ‘dead’ as more blood dripped from her eyes. “It gives me chills every time I watch it” Olivia Rodrigo told MTV in 2021. “I think Lady Gaga is the best performer of our generation.” The “Drivers License” singer appeared to take notes. At this year’s Grammy Awards she began to ‘bleed’ from clenched fists while performing her hit “vampire” spreading fake blood across her arms and neck as the song progressed.
rx crossroads pharmacy refill: cobix generic celebrex pharmacy – domperidone inhouse pharmacy
buying prescription drugs in mexico best online pharmacies in mexico or buying prescription drugs in mexico online https://recolecta.net/dnet-web-generic/redirect.action?url=http://mexicopharmacy.cheap mexico drug stores pharmacies mexico pharmacies prescription drugs pharmacies in mexico that ship to usa and mexican rx online mexican rx online
Drought-hit Danube River reveals scuttled German World War II ships порно жесток The wrecks of explosives-laden Nazi ships sunk in the Danube River during World War II have emerged near Serbia’s river port town of Prahovo after a drought in July and August that saw the river’s water level drop. Four vessels dating from before 1950 have also come to light in Hungary’s Danube-Drava National Park near Mohacs where the Danube’s water level stood at only 1.5 meters 4.9 feet on Tuesday the lingering effect of severe heat waves and persistent drought in July and August. The vessels revealed in Prahovo were among hundreds scuttled along the Danube by Nazi Germany’s Black Sea fleet in 1944 as they retreated from advancing Soviet forces destroying the ships themselves. The wrecks can hamper river traffic during low water levels. Strewn across the riverbed some of the ships still have turrets command bridges broken masts and twisted hulls while others lie mostly submerged under sandbanks. Endre Sztellik a guard at the Danube-Drava national park said of one of the ships “we still don’t know what this is exactly. What is visible and an unfortunate fact is that the wreck is diminishing as people are interested in it and parts of it are going missing.” The Danube stood at 1.17 meters 3.8 feet in Budapest on Tuesday which compares with an all-time record low of around 0.4 meters 1.3 feet registered in October 2018. During floods the Danube rises well above 6 meters 19.7 feet. “Eastern Europe is experiencing critical drought conditions that are affecting crops and vegetation” the European climate service Copernicus said on its website in its latest drought report published earlier this month.
buy medicines online in india: indian pharmacies safe – world pharmacy india https://pharmbig24.com/# toronto pharmacy viagra
Online medicine home delivery: best online pharmacy india – indianpharmacy com