首页 > 代码库 > html-标签大全

html-标签大全

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="http://www.mamicode.com/.swf" type="application/x-shockwave-flash" width="" height="">

  <param name="movie" value="http://www.mamicode.com/.swf">

  <param name="quality" value="http://www.mamicode.com/high">

  <param name="wmode"value="http://www.mamicode.com/transparent">

  <param name="bgcolor" value="http://www.mamicode.com/#000">

  <param name="allowFullScreen" value="http://www.mamicode.com/true">

  <param name="allowscriptaccess" value="http://www.mamicode.com/always">

  <param name="allowFullScreenInteractive" value="http://www.mamicode.com/true">

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

  <embed src="http://www.mamicode.com/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  one rror  onresize  onscroll

 

鼠标事件

onclick  ondblclick  oncontextmenu  onm ousedown  onm ouseup

onmouseenter  onm ouseleave  onm ouseover  onm ouseout

onmousemove  onwheel

 

键盘事件

onkeydown  onkeypress  onkeyup

 

表单事件

onfocus  onblur  onfocusin  onfocusout  onchange  onselect  onsubmit

 

剪贴板事件

oncopy  oncut  onpaste

html-标签大全