Posts

Showing posts from 2014

HTML5 Features Techniques

New Doctype  (old doctype)   <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">   (New doctype) <! DOCTYPE html>   Make your Content Editable The new browsers have a nifty new attribute that can be applied to elements, called contenteditable . As the name implies, this allows the user to edit any of the text contained within the element, including its children. There are a variety of uses for something like this, including an app as simple as a to-do list, which also takes advantage of local storage. <! DOCTYPE html>   < html lang = "en" > < head >      < meta charset = "utf-8" >      < title >editcontent</ title > </ head > < body >      < h2 >Best Friends </ h2 >   ...

The Advantages and Disadvantages of HTML5

The Advantages and Disadvantages of HTML5 HTML5 is the hottest thing in web development. In this article, I wanted to discuss the background surrounding HTML5 development and point to the advantages and disadvantages to using the language today. I'm going to write a more detailed series in the future, detailing specific elements of the language as well as practical examples of the language. What is HTML5? HTML5 is the newest version of the HyperText Markup Language that was developed in the late 80's in order to describe documents that linked to each other. In it's early days, HTML's role was simple...to help describe a document's structure and to allow cross-linking of documents. The language is a Markup Language ...a way to enhance a text file with bits of code (markup) that describes the structure of the document. Think of it as what your teachers did to your english schoolpapers. When they corrected it, they marked it up...probably in red to tel...

HTML5 TAG

HTML5 New Media Elements   Tag Description   Defines sound or music content   Defines video or movie content   Defines sources for and   Defines tracks for and   Defines containers for external applications (like plug-ins) The Tag The audio tag allows you to put a music file directly into the HTML code without the use of a plugin, such as Flash or Javascript. There are three types of audio formats that are compatible with this tag: .ogg, .mp3 and .wav. However, some of these file types will only work with certain browsers. Here is a handy chart to show you which files are compatible with each browser. IE Firefox Opera Chrome Safari OGG No 3.5+ 10.5+ 3.0+ No MP4 9.0+ No No 3.0+ ...