Links
- MDV: github: toolkitchen/mdv
- Mobile
- Quick Docs
- Differences from HTML4
- HTML 5.1 Nightly
- HTML: The Living Standard
- Try the Search field – nicely done.
- Links
- Global attributes
- id
- data-xyz
- The
xyzcan't begin with "xml" or contain any capital letters. - Data attribute
data-test-valuewill be accessible asHTMLElement.dataset.testValue(hypen separated names become camel case.)
- The
- spellcheck
- itemscope, itemtype, itemprop, etc.
- New form features in HTML5
- Device API
- File API
- Manipulating the browser history
- Where does what work? caniuse.com
- Keyboard
- accesskey
- Google Closure's keyhandler.js: Nice implementation of unifying the keyboard event bugs across browsers
- Key Values
- Keyboard Events and Attributes
- e.g.
key,location,repeat,metaKey,shiftKey, etc.
- e.g.
- Events
- DOM event reference
- Touch events v1
pageshowandpagehidepopstatehashchangeredoandundoofflineandonline
- Offline Cache Manifest
- ApplicationCache manifest
- Shadow DOM?
- Mozilla: Content Categories
- Safari HTML Reference
- How-To's for Safari on iPhone
- Ensure that my web content uses all of the available screen space on iPhone?
- Hide the Safari on iPhone OS UI components when my web application is running?
<meta name="apple-mobile-web-app-capable" content="yes" />
- Detect iPhone orientation changes in my web application?
<body onorientationchange="myOrientationChangeFunction()">
- Control which keyboard is displayed when a user touches a text field?
- Specifying a per-page Home screen icon
<link rel="apple-touch-icon" href="/my_custom_icon.png"/>
<input type="text" autocorrect="off" autocapitalize="off">
- Configuring the Viewport
- HTML5 Offline Application Cache
- Apple-Specific Meta Tag Keys
- For
apple-mobile-web-app-capable, viewportuser-scalable=no, etc.
- For
- GestureEvent
- Touch
- DOM Additions Reference
- webkitCompassHeading - iOS 5.0+
- How-To's for Safari on iPhone
- Articles by Opera for developers
- CSS Mobile Profile 2.0
- Standard metadata names
- Link types
- Also check out:
nofollowandnoindexmeta tags
- HTML5
- Detecting print requests
- Using full screen mode
- Undetectables
- Div vs. Span
DocType
Just use
<!doctype html>
and that's it!
Content Type meta declaration
Just use
<meta charset="UTF-8">
instead of the older <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Tools / Variants / Preprocessors, etc.
- Haml – HTML abstraction markup language
- Sass – Syntactically Awesome Stylesheets
- http://learn.shayhowe.com/advanced-html-css/preprocessors