Whats new in HTML5


Html5 is created in such a way that it will be backward compatibility. It will have html + xml as their base. In html4 we are writting <html> but as per rule html 5 should be written as follows.

<?xml version="1.0"?>
    <html xmlns="http://www.w3.org/1999/xhtml">

Mmeta elements are replaced.<meta http-equiv=”content-type” content=”text/html; charset=urf-8″> <meta charset=”utf-8″>

In html5 their no necessary to use doctype, as everything is going to handle with xml.

Continue reading