The Date object is used to work with dates and times. Complete Date Object Reference For a complete reference of all the properties and methods that can be used with the Date object, go to our complete Date object reference. The reference contains a brief description and examples of use for each property and method! Create [...]
Read More >>

The String object is used to manipulate a stored piece of text. Try it Yourself – Examples Return the length of a string How to return the length of a string. Style strings How to style strings. The toLowerCase() and toUpperCase() methods How to convert a string to lowercase or uppercase letters. The match() method [...]
Read More >>
JavaScript is an Object Oriented Programming (OOP) language. An OOP language allows you to define your own objects and make your own variable types. Object Oriented Programming JavaScript is an Object Oriented Programming (OOP) language. An OOP language allows you to define your own objects and make your own variable types. However, creating your own [...]
Read More >>
HTML5 provides a standard for playing audio. Audio on the Web Until now, there has never been a standard for playing audio on a web page. Today, most audio are played through a plugin (like flash). However, not all browsers have the same plugins. HTML5 specifies a standard way to include audio, with the audio [...]
Read More >>
Videos on the Web Until now, there has never been a standard for showing a video or movie on a web page. Today, most videos are shown through a plugin (like flash). However, different browsers may have different plugins. HTML5 defines a new element which specifies a standard way to include video: the <video> element. [...]
Read More >>
The internet has changed a lot since HTML 4.01 became a standard in 1999. Today, some elements in HTML 4.01 are obsolete, never used, or not used the way they were intended to. These elements are deleted or re-written in HTML5. To better handle today’s internet use, HTML5 also includes new elements for better structure, [...]
Read More >>
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 >>
Examples in Each Chapter With our HTML editor, you can edit the HTML, and click on a button to view the result. Example <!DOCTYPE HTML> <html> <body> <video width=”320″ height=”240″ controls=”controls”> <source src=”movie.mp4″ type=”video/mp4″ /> <source src=”movie.ogg” type=”video/ogg” /> <source src=”movie.webm” type=”video/webm” /> Your browser does not support the video tag. </video> </body> </html> Try [...]
Read More >>

Headings are important in HTML documents. HTML Headings Headings are defined with the <h1> to <h6> tags. <h1> defines the most important heading. <h6> defines the least important heading. Example <h1>This is a heading</h1> <h2>This is a heading</h2> <h3>This is a heading</h3> Try it yourself » Note: Browsers automatically add some empty space (a margin) [...]
Read More >>
Attributes provide additional information about HTML elements. HTML Attributes HTML elements can have attributes Attributes provide additional information about an element Attributes are always specified in the start tag Attributes come in name/value pairs like: name=”value” Attribute Example HTML links are defined with the <a> tag. The link address is specified in the href attribute: Example <a href=”http://www.w3schools.com”>This is a [...]
Read More >>