Home » HTML5 (page 4)

HTML5

HTML5 Color picker example

In this article I will show you how to create a Color Picker using HTML5 Canvas API. I’ll first present you the API we’ll use. Then we’ll create a “color picker” you can reuse in your applications. This article will not present the use of the new <input type="color" />. 1. Introduction The way to create a color picker is ...

Read More »

HTML5 Checkbox Example

In this example, we shall take a closer look at how we can create and style checkbox elements with HTML5 markup and CSS3 styling. Creating checkboxes will be needed when you want to present the user a set of options they can choose from, which is most likely in surveys. First we take a basic approach to the html element ...

Read More »

HTML5 Photo Gallery Example

The aim of this example is to get you through the process of creating a functional photo gallery using HTML5 and CSS3. Photo galleries will be needed in almost every website, whether to present products, staff members, or personal images when on a personal blogs. Before we begin, know the following technologies that will be used: – The photo viewer ...

Read More »

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 »

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