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

HTML DOM Document Object

January 12th, 2012

Document Object Each HTML document loaded into a browser window becomes a Document object. The Document object provides access to all HTML elements in a page, from within a script. Tip: The Document object is also part of the Window object, and can be accessed through the window.document property. Document Object Collections W3C: W3C Standard. Collection Description [...]

Read More >>

Author: Categories: HTML DOM Tags: , ,

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: ,

JavaScript Math Object

December 14th, 2011

Complete Math Object Reference For a complete reference of all the properties and methods that can be used with the Math object, go to our complete Math object reference. The reference contains a brief description and examples of use for each property and method! Math Object The Math object allows you to perform mathematical tasks. The [...]

Read More >>

Author: Categories: Java Script Tags: ,

JavaScript Boolean Object

December 14th, 2011

Complete Boolean Object Reference For a complete reference of all the properties and methods that can be used with the Boolean object, go to our complete Boolean object reference. The reference contains a brief description and examples of use for each property and method! Create a Boolean Object The Boolean object represents two values: “true” or [...]

Read More >>

Author: Categories: Java Script Tags: ,

JavaScript Array Object

December 14th, 2011

Complete Array Object Reference For a complete reference of all the properties and methods that can be used with the Array object, go to our complete Array object reference. The reference contains a brief description and examples of use for each property and method! What is an Array? An array is a special variable, which can [...]

Read More >>

Author: Categories: Java Script Tags: ,