1. The 11th Thailand Open Source Software Festival
HTML5 and Joomla! Template
Name: Supachai Teasakul
Location: Bangkok, Thailand
Position: Joomla Translation WG - Joomla.org, DOCMan Translation,
LaiThai Developer Team, Project Manager - Marvelic Engine Co.,Ltd.
Twitter: @supa_chai
2. About HTML5
What is HTML5?
1. HTML5 will be the new standard for
HTML.
HTML
2. The previous version of HTML,
HTML 4.01, came in 1999. The web
has changed a lot since then.
3. HTML5 is still a work in progress.
However, the major browsers
CSS JavaScript support many of the new HTML5
elements and APIs.
3. About HTML5
HTML + CSS + DOM + JavaScript
The Tech-nology of HTML5 (Editor's Draft 15 May 2012)
Semantics Offline & Storage Device Access Connectivity
Multimedia 3D, Graphics & Effects Performance & Integration CSS3
http://www.w3.org/html/logo/ New Class: Offline, Nuts & Bolts
7. Templates Structure
Your can change with the sample code.
Change from
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
1
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
to
The html5.js and must be inserted in the head element
(this is because IE needs to know about the element
<!DOCTYPE html> before it comes to render them - so it can't sit in the footer
2
of the page, i.e. below the elements in question).
http://remysharp.com/2009/01/07/html5-enabling-script/
& Add HTML5 enabling script
<!--[if lt IE 9]>
3 <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
9. Templates CSS
Your can used with the sample code
CSS3 http://dev.w3.org/csswg/css3-fonts/
1 @font-face {
font-family: 'Titillium Maps';
src: url("../fonts/TitilliumMaps29L002.eot");
src: local('Titillium Maps'), local('TitilliumMaps'),
url("../fonts/TitilliumMaps29L002.otf") format("opentype"),
url("../fonts/TitilliumMaps29L002.woff") format("woff");
}
CSS3
2 -prefix-
Supported by Internet Explorer with the prefix -ms-
Supported by Firefox with the prefix -moz-
Supported by Google Chrome with the prefix -webkit-
Supported by Safari with the prefix -webkit-
Supported by Opera with the prefix -o-
IE support css3 from http://css3pie.com/ http://www.css3.info/
14. HTML5 in mobile devices
Key features for mobile devices
Advanced
GeoLocation forms
API
Video and
audio
streaming
Canvas support
drawing
Offline
support