PITS Blog
  • Home
  • Services
    • Dedicated team Have your own development team at our location in Kerala, India. We tailor our employees individually to your project.
    • Website & web shop Get into the online business and sell your products around the clock. Or convince yourself with a modern website on desktop and mobile devices.
    • Application development We develop very individual web or software applications for you for a wide variety of needs.
    • Hybrid or native iOS & Android Apps Online business is often done on the go today, and the trend is rising. Invest now and make your software mobile-compatible.
  • Credentials
  • Technology
  • Process
  • About us
  • Contact
  • White papers
  • Jobs
  • Blog
  • Startups
�
Avatar

An intro to HTML Version 5

By NinethSense on September, 28 2011
demo post

By Visakh R N

WordPress and .NET

By Priyanka K

Roadmap to become a DevOps Engineer

By Francis Varghese

Gutenberg - More Than Just An Editor

By Priyanka K

HTML5 is the next version of HTML (as of September, 2011 it is still under development) which is for structuring and presenting content – just like in previous HTML standard but is more matured. Browsers already started supporting it, not completely but most features. You can start experimenting with latest IE, Firefox, Safari or Chrome.

 

image

Major elements to note are:

  • Canvas – for drawing
  • Video and Audio
  • DOM storage – store data in browser
  • Article, Footer, Header, Calendar, Time, Url, Search etc.

 

Few people say this will be a replacement for Adobe’s Flash or Microsoft’s Silverlight technology but we need to wait some more time to know more.

Here are few new elements for you to try out.

Canvas sample

<canvas id="testcanvas" width="100" height="100"></canvas> <script > element=document.getElementById("testcanvas"); context=element.getContext("2d"); gradient=context.createLinearGradient(0,0,100,100); gradient.addColorStop(0,"#0000ff"); gradient.addColorStop(1,"#00ff00"); context.fillStyle=gradient; context.fillRect(0,0,100,100); </script>

Video and Audio

<video controls="controls" src="MVI_0697.MOV"></video> <audio src="test.mp3" controls="controls"></audio>

Web Storage/DOM storage

<script type="text/javascript"> localStorage.test_var="Hello World"; alert(localStorage.test_var); </script>

Note: sessionStorage is also used same way.

You can read more about HTML5 here and here

We'd love to hear from you.

Contact us

Switzerland
thomas(at)pitsolutions(dot)com
+41 (0) 43 558 4360

India
enquiries(at)pitsolutions(dot)com
+91 (0) 471 270 0615 / 715

UAE
mohammed(at)pitsolutions(dot)com
+971 (0) 4 359 8610

USA
arnab(at)pitsolutions(dot)com
+1 (0) 703 945 8076

Copyright © 2019PIT Solutions AG.An ISO 9001:2015 certified company. All Rights Reserved

SCROLL TO TOP