W3 Updates, HTML, XHTML, CSS, JavaScript, AJAX, XML, PHP, Ruby, PHP Frameworks

Archive

Posts Tagged ‘HTML5’

HTML5 Form Elements

January 12th, 2012

HTML5 has several new elements and attributes for forms. This chapter covers the new form elements: <datalist> <keygen> <output> Browser Support Tag IE Firefox Opera Chrome Safari <datalist> No 4.0 9.5 No No <keygen> No 4.0 10.5 3.0 No <output> No 4.0 9.5 10.0 5.1   <datalist> Element The <datalist> element specifies a list of [...]

Read More >>

Author: Categories: HTML Tags: ,

HTML5 Input Types

January 12th, 2012

HTML5 New Input Types HTML5 has several new input types for forms. These new features allow for better input control and validation. This chapter covers the new input types: email url number range Date pickers (date, month, week, time, datetime, datetime-local) search color Browser Support Input type IE Firefox Opera Chrome Safari email No 4.0 [...]

Read More >>

Author: Categories: HTML Tags: ,

HTML5 Web Storage

January 12th, 2012

Storing Data on the Client HTML5 offers two new objects for storing data on the client: localStorage – stores data with no time limit sessionStorage – stores data for one session Earlier, this was done with cookies. Cookies are not suitable for large amounts of data, because they are passed on by EVERY request to [...]

Read More >>

Author: Categories: HTML Tags: ,

HTML5 Event Attributes

January 12th, 2012

Global Event Attributes HTML 4 added the ability to let events trigger actions in a browser, like starting a JavaScript when a user clicks on an element. To learn more about programming events, please visit our JavaScript tutorial and our DHTML tutorial. Below are the global event attributes that can be added to HTML5 elements to define event [...]

Read More >>

Author: Categories: HTML Tags: ,

HTML5 Global Attributes

January 12th, 2012

New global attributes in HTML5. Attribute Value Description accesskey character Specifies a shortcut key to access an element class classname Refers to a class specified in a style sheet contenteditableNew true false inherit Specifies whether a user can edit the content of an element or not contextmenuNew menu_id Specifies a context menu for an element. [...]

Read More >>

Author: Categories: HTML Tags: , ,

HTML5 canvas.getContext(“2d”) reference

January 12th, 2012

Context The canvas element has no drawing abilities of its own. A canvas is a rectangular area, where you can control every pixel using JavaScript. HTML5 has a built-in object for the canvas element, the getContext(“2d”) object. The getContext(“2d”) object has methods to draw lines, boxes, circles, and more. Colors and Styles Attribute Value Description [...]

Read More >>

Author: Categories: HTML Tags: ,

HTML5 Introduction

November 17th, 2011

HTML5 is the next generation of HTML. What is HTML5? HTML5 will be the new standard for HTML, XHTML, and the HTML DOM. The previous version of HTML came in 1999. The web has changed a lot since then. HTML5 is still a work in progress. However, most modern browsers have some HTML5 support. How [...]

Read More >>

Author: Categories: HTML Tags: