Home » HTML5 (page 5)

HTML5

HTML5 Contact Form Example

In this example we will go through a simple clean contact form. Contact forms are sections within a webpage that you add with a set of input fields for users to have the possibility to contact the website admins. Normally, you can choose how many fields you want the contact form to have, like name, e-mail, subject and message, or ...

Read More »

HTML5 Input Types Example

If you are developing web applications, you may have created forms, at least for a contact page, or even a login page. So I suppose you should know how to create a form, and the major field you can add such as text element, password field, or other checkboxes and radio buttons. Of course you will add a submit button ...

Read More »

HTML5 Web Camera Example

In this article I’ll present you how to use and access the visitor Web Camera. First we will present the API, then we will see an example to explain the HTML5 API usage. 1. The history The specification of the API that allows web pages to interact with user (visitor) camera (and/or microphone) evolved many times. The story of accessing ...

Read More »

HTML5 websocket example

In this article I will present you the WebSocket feature of HTML5. We will first describe the API with small examples, then I’ll try to create a small app using the API. 1. Presentation WebSocket will allow you to create a full connection to a server, this will allow the server to notify (push) data to the connected client(s). Ajax ...

Read More »

HTML5 Form Validation Example

Introduction HTML5 has introduced a lot of changes welcomed by developers, including adding additional types of form input elements that helps in form processing activities like validation. Validating web forms has always been a painful task for many developers. Performing client side validation in a user-friendly as well as developer-friendly way is really hard. Furthermore informing users about the validation ...

Read More »

HTML5 Navigation Bar Example

In this article we will present you a way for creating an HTML5 navigation bar. We will only use CSS and no JavaScript. Let’s see how this can be done! 1. The nav Tag The <nav /> Tag is one of the new elements introduced in the HTML5 Specification, this element represents a part of your document that contains links ...

Read More »

HTML5 Geolocation Example – Weather Widget Demo

Introduction At the heart of every location-based application is positioning and Geolocation. Geolocation is similar to  the use of positioning systems but is more focused on determining a meaningful location (e.g. a street address) rather than just a set of geographic coordinates. In this tutorial you will learn the Geolocation capabilities of HTML5. The API provides a method to locate the ...

Read More »

HTML5 Offline Web Application Example

In this example we will talk about writing an “Offline” Web Application. Offline ? Sounds weird, doesn’t it ? HTML5 allows us to create a “list” of files accessible after the browser is disconnected. The browser will always have to download the main HTML file and all the files in this “list” at least once. Let’s see how this works. ...

Read More »

HTML5 Graphics and Animation Example

Introduction Animation is the visualization of change, having reference points for the start and end states for comparison. Before HTML 5, it was limited to usage of Adobe Flash, CSS and JavaScript mostly. In this tutorial we will introduce the HTML canvas element and the requestAnimationFrame function in JavaScript to help us create simple animations. The HTML canvas element (introduced ...

Read More »

Want to take your WEB dev skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • PHP Programming Cookbook
  • jQuery Programming Cookbook
  • Bootstrap Programming Cookbook
  • Building WEB Apps with Node.js
  • CSS Programming Cookbook
  • HTML5 Programming Cookbook
  • AngularJS Programming Cookbook