HTML and CSS Reference
In-Depth Information
HTML5 Standard Syntax
accesskey="spaced list of accelerator key(s)"
class="class name(s)"
contenteditable="true | false | inherit"
contextmenu="id of menu"
data-X="user-defined data"
dir="ltr | rtl"
draggable="true | false | auto"
id="unique alphanumeric identifier"
itemid="microdata id in URL format"
itemprop="microdata value"
itemref="space-separated list of IDs that may contain microdata"
itemtype="microdata type in URL format"
lang="language code"
spellcheck="true | false"
style="style information"
title="advisory text">
HTML5 Event Attributes
onabort, onbeforeunload, onblur, onchange, onclick, oncontextmenu,
ondblclick, ondrag, ondragend, ondragenter, ondragleave, ondragover,
ondragstart, ondrop, onerror, onfocus, onhashchange, onkeydown, onkeypress,
onkeyup, onload, onmessage, onmousedown, onmousemove, onmouseout,
onmouseover, onmouseup, onmousewheel, onresize, onscroll, onselect,
onstorage, onsubmit, onunload
<!DOCTYPE html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title> Document Header </title>
<h1> Welcome to the Example </h1>
<h2> The more exciting subheading </h2>
<p> Yes it is yet another boring example. </p>
<footer><p> &copy; 2010 Boring Examples, Inc. </p></footer>
Search WWH ::

Custom Search