«

»

Aug 20 2007

HTML5 And PHP 6 Are In The Works – Very Excited

HTML (Hyper Text Markup Language) is the most frequently used markup language to create web pages. Version 4 (HTML4), which came out in the late 1990’s, has been around for so long that they decided to develop the new version of the language HTML5 (note no space) and is defined by the draft specification called HTML 5 (note the space). The group that was setup in 2004 to work on the project is the WHATWG (Web Hypertext Application Technology Working Group).

There are going to be many additions and subtractions to the elements and attributes with some that are still up in the air. I am not sure how HTML5 will be welcomed, but lets hope that browser engineers will make it so that all browser will accept the new web standards. Most likely, IE will just ignore everything and make developers write completely separate code so that the page will work with IE’s “standards”.

HTML5 is going help with many of the situations that web developers are currently writing work arounds for. Say for example, you are looking to validate an input as a required field. Currently you need to either write validation server side or validation client side. Most people will do a JavaScript check to make sure there was something entered into that field. I used to write my own functions to check, but lately I have been using jQuery to do all of this for me. ValidationAide which is a jQuery plugin by Ste Brennan has greatly reduced the code needed to validate. All you need to do is add a class of “validator-required” to the input and it will do all the checking for you, however that still takes extra code that someone needs to write. HTML5 is going to help with that by allowing for an attribute of “required” to be added to the input (except types of hidden, button, image). For checkboxes, the required attribute shall only be satisfied when one or more of the checkboxes with that name in that form are checked. For radio buttons, the required attribute shall only be satisfied when exactly one of the radio buttons in that radio group is checked. There are a lot of changes that are going to be occurring to make sure that HTML5 will help web developers to do their jobs.

Blogs are becoming more popular every day on the internet, the fact that you are reading this post proves it. Most blogs are using a blogging software like WordPress (Armenian Eagle uses wordpress) and have CSS themes that use divs with classes and ids to style them. Up until now, that has been the best way to get the job done. See below.
Blog Style Today

HTML5 will allow for elements of header, section, article and nav which added all together will create a blog theme that can be styled. The difference is that the code will be a lot cleaner than it currently is. See Below.
Blog Style HTML5

You can check to see if you website validates for HTML5 here. Also you can get a full list of all the New elements in HTML 5.

PHP: As for PHP 6, they are currently working on the new version as of July 2007 which will address the problems in PHP 5.

html, html4, html5, php, elements, divs, classes, ids, web, technology

About the author

Timothy Haroutunian

Timothy Haroutunian is a ServiceNow Cloud Implementation Specialist at Acorio. ServiceNow is an IT Management solution that allows for a complete view of your IT and physical environment.

Permanent link to this article: http://www.armenianeagle.com/2007/08/20/html5-and-php-6-are-in-the-works-very-excited/

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.