html5
html5

HTML5 – THE ULTIMATE HTML CHEAT SHEET

HTML5 : Hypertext Markup Language, a standardized system for tagging text files to achieve font, colour, graphic, and hyperlink effects on World Wide Web pages.

DOCUMENT OUTLINE

<!DOCTYPE> Version of (X)HTML
<HTML> HTML Document
<HEAD> Page Information
<BODY> Page Contents

COMMENTS

<!–COMMENT TEXT–>

PAGE INFORMATION

<base/> Base Url
<meta/> Meta Data
<title> Title
<link/> Relevant resource
<style> Style resource
<script> Script resource

 DOCUMENT STRUCTURE

<h[1-6]> Heading
<div> Page Section
<span> Inline Section
<p> Paragraph
<br/> Line Break
<hr/> Horizontal Rule

LINKS

<a href=””> Page Link
<a href=”mailto”> Email Link
<a href=”name”> Anchor
<a href=”#name”> Link To Anchor

IMAGES AND IMAGE MAPS

<img/> Image
<map> Image Map
<area/> Area of Image Map

TEXT MARKUP

<strong> Strong Emphasis
<em> Emphasis
<blockquote> Long Quotation
<q> Short Quotation
<abbr> Abbreviation
<acronym> Acronym
<address> Address
<pre> Pre-Formatted Text
<dfn> Definition
<code> Code
<cite> Citation
<del> Deleted Text
<ins> Inserted Text
<sub> Subscript
<sup> Superscript
<bdo> Text Direction

OBJECTS

<OBJECT> Object
<PARAM/> Parameter

FORMS

<form> Form
<fieldset> Collection of fields
<legend> Form Legend
<label> Input Label
<input/> Drop-Down Box
<select> Group of Options
<optgroup> Large Text Input
<option> Drop Down Options
<textarea> Large Text Input
<button> Button

LIST

<ol> Ordered List
<ul> Unordered List
<li> List Item
<dl> Definition List
<dt> Definition Term
<dd> Term Description

 TABLES

<table> Table
<caption> Caption
<thead> Table Header
<tbody> Table Body
<tfoot> Table Footer
<colgroup> Column Group
<col/> Column
<tr> Table Row
<th> Header Cell
<td> Table Cell

EMPTY ELEMENTS

<area/> <img/>
<base/> <input/>
<br/> <link/>
<col/> <meta/>
<hr/> <param/>

KEYBOARD ATTRIBUTES

accesskey tabindex

COMMON CHARACTER ENTITIES

&#34; “ Quotation Mark
&#38; & Ampersand
&#60; < Less Than
&#62; > Greater than
&#64; @ “AT” Symbol
&#128; € Euro
&#149; . Small Bullet
&#153; ™ TradeMark
&#163; £ Pound
&#160;   No Breaking Space
&#169; © CopyRight Symbol

MOUSE EVENT

onClick
onDbclick
onMousedown
onMousemove
onMouseout
onMouseover
onMouseup

FORM EVENTS

onBlur onReset
onChange onSelect
onFocus onSubmit

WINDOW EVENTS

onLoad onUnload

LANGUAGE ATTRIBUTES

dir lang
Note : Language attribute may not be used in base, br, frame, frameset, hr, ,iframe, param or script elements.

KEYBOARD EVENTS

onKeydown onKeyup
onKeypress

CORE ATTRIBUTES

class style
id title
Note : Core attributes may not be used in base, head, html, meta, param, script, style or title elements.

 

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.