Shine Tutorial    
  shinetutorialtopsideimage
HOME DOS OS C,C++ HTML CSS XML JAVA ASP PHP SQL OFFICE MULTIMEDIA MORE... CERTIFICATION ABOUT
 
S T ADVT
TUTORIALS

HTML 5 Reference

HTML 5 Tags
HTML 5 Attributes
HTML 5 Events

HTML 5 Tags

<!-->
<!DOCTYPE>
<a>
<abbr>
<acronym>
<address>
<applet>
<area>
<article>
<aside>
<audio>
<b>
<base>
<basefont>
<bdo>
<big>
<blockquote>
<body>
<br>
<button>
<canvas>
<caption>
<center>
<cite>
<code>
<col>
<colgroup>
<command>
<datalist>
<dd>
<del>
<details>
<dfn>
<dir>
<div>
<dl>
<dt>
<em>
<embed>
<fieldset>
<figcaption>
<figure>
<font>
<footer>
<form>
<frame>
<frameset>
<h1> - <h6>
<head>
<header>
<hgroup>
<hr>
<html>
<i>
<iframe>
<img>
<input>
<ins>
<keygen>
<kbd>
<label>
<legend>
<li>
<link>
<map>
<mark>
<menu>
<meta>
<meter>
<nav>
<noframes>
<noscript>
<object>
<ol>
<optgroup>
<option>
<output>
<p>
<param>
<pre>
<progress>
<q>
<rp>
<rt>
<ruby>
<s>
<samp>
<script>
<section>
<select>
<small>
<source>
<span>
<strike>
<strong>
<style>
<sub>
<summary>
<sup>
<table>
<tbody>
<td>
<textarea>
<tfoot>
<th>
<thead>
<time>
<title>
<tr>
<tt>
<u>
<ul>
<var>
<video>
<xmp>


 

HTML 5 Standard Attributes

« Previous Next Reference »

The attributes listed below are supported by all HTML 5 tags, with a few exceptions.


HTML 5 Standard Attributes

New : New standard attributes in HTML 5.

Attribute Value Description
accesskey character Specifies a keyboard shortcut to access an element.
class classname Specifies a classname for an element (used to specify a class in a style sheet).
contenteditableNew true
false
Specifies if the user is allowed to edit the content or not.
contextmenuNew menu_id Specifies the context menu for an element.
data-yourvalueNew value Author defined attributes. Authors of a HTML document can define their own attributes. Must start with "data-".
dir ltr
rtl
Specifies the text direction for the content in an element.
draggableNew true
false
auto
Specifies whether or not a user is allowed to drag an element.
hiddenNew hidden Specifies that the element is not relevant. Hidden elements are not displayed.
id id Specifies a unique id for an element.
itemNew empty
url
Used to group elements.
itempropNew url
group value
Used to group items.
lang language_code Specifies a language code for the content in an element. Language code reference
spellcheckNew true
false
Specifies if the element must have it's spelling or grammar checked.
style style_definition Specifies an inline style for an element.
subjectNew id Specifies the element's corresponding item.
tabindex number Specifies the tab order of an element.
title text Specifies extra information about an element.

« Previous Next Reference »