1. 程式人生 > >html-標簽大全

html-標簽大全

drag screen poster progress figure ddt ide pro vars

html

<!DOCTYPE html>

<html lang="en | zh-cmn-Hans"></html>

manifest="demo.appcache" ie10

<head></head>

<meta charset="UTF-8">

<title></title>

<link rel="stylesheet" type="text/css" href="" media="">

<link rel="shortcut icon" type="image/ico" href=""> 網頁圖標

<style type="text/css"></style>

<script type="text/javascript" src=""></script>

<base href="" target="_seft | _blank">

<body></body>

<!-- ... -->

<h1>to<h6>

<p></p>

<br>

<hr>

<strong></strong>

<em></em>

<del></del>

<ins></ins>

<sub></sub>

<sup></sup>

<small></small>

<abbr></abbr>

<address></address>

<cite></cite>

<q cite=""></q>

<blockquote cite=""></blockquote>

<code></code>

<samp></samp>

<var></var>

<dfn></dfn>

<kbd></kbd>

<pre></pre>

<a href="" target="" name=""></a>

<iframe src="" width="" height="" name=""></iframe>

<img src="" width="" height="" usermap="" ismap>

<map name="">

<area shape="" coords="" href="" target="">

<table border=""></table>

<caption></caption>

<colgroup span=""></colgroup>

<col span="">

<thead></thead>

<tbody></tbody>

<tfoot></tfoot>

<tr></tr>

<th colspan="" rowspan=""></th>

<td colspan="" rowspan=""></td>

<div></div>

<span></span>

<ul></ul>

<ol></ol>

<li></li>

<dl></dl>

<dt></dt>

<dd></dd>

<form action="" method="" target="" name="" ></form>

enctype

accept-charset

autocomplete !opera

novalidate ie10 !safari

<button type="" value="" name="" disabled></button>

form !ie

autofocus ie10 !opera

formaction ie10

formmethod ie10

formtarget ie10

formenctype ie10

formnovalidate ie10 !safari

<textarea cols="" rows="" name="" disabled readonly></textarea>

wrap hard soft

form !ie

autofocus ie10

maxlength ie10 !opera

placeholder ie10

required ie10 !safari

<select size="" name="" multiple disabled></select>

form !ie

autofocus ie10 !firefox

<optgroup label="" disabled></optgroup>

<option value="" selected disabled></option>

<label for="" form=""></label>

<fieldset></fieldset>

<legend></legend>

<input type="" value="" name="" disabled>

autofocus ie10 !opera

form !ie

formaction ie10

formmethod ie10

formtarget ie10

formenctype ie10

<input type="text" size="" maxlength="" readonly autocomplete>

placeholder ie10

<input type="image" src="" width="" height="">

<input type="file" accept="" >

multiple ie10

<input type="radio checkbox" checked>

<embed src="" type="" width="" height="" name=""></embed>

<object data="" type="" width="" height="" name=""></object>

<param name="" value="">

<header></header>

<footer></footer>

<section></section>

<hgroup></hgroup>

<article></article>

<aside></aside>

<nav></nav>

<figure></figure>

<figcaption></figcaption>

<mark></mark>

<time datetime="YYYY-MM-DDThh:mm:ssTZD"></time>

<canvas width="" height=""></canvas>

<audio src="" preload="" controls autoplay loop muted></audio>

<video src="" width="" height="" poster="" preload="" controls autoplay loop muted></video>

<source src="" type="">

<progress value="" max="">(ie10)

<meter value="" optimum="" min="" max="" low="" high="" ></meter>(!ie)

<meta name="keywords" content="">

<meta name="description" content="">

<meta name="renderer" content="webkit ie-comp ie-stand">

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

<meta name="viewport" content="width=device-width,initial-scale=1">

<meta http-equiv="mobile-agent" content="format= ;url= ">

<object data=".swf" type="application/x-shockwave-flash" width="" height="">

  <param name="movie" value=".swf">

  <param name="quality" value="high">

  <param name="wmode"value="transparent">

  <param name="bgcolor" value="#000">

  <param name="allowFullScreen" value="true">

  <param name="allowscriptaccess" value="always">

  <param name="allowFullScreenInteractive" value="true">

  <param name="flashvars" value="">

  <embed src="/media/v1/default_v1.1.swf" type="application/x-shockwave-flash" width="" height="" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" wmode="transparent">

</object>

全局屬性

id class style title lang data-*

accesskey tabindex contenteditable draggable

事件屬性

窗口事件

onload onunload onerror onresize onscroll

鼠標事件

onclick ondblclick oncontextmenu onmousedown onmouseup

onmouseenter onmouseleave onmouseover onmouseout

onmousemove onwheel

鍵盤事件

onkeydown onkeypress onkeyup

表單事件

onfocus onblur onfocusin onfocusout onchange onselect onsubmit

剪貼板事件

oncopy oncut onpaste

html-標簽大全