With the introduction of HTML5 many things have changed. The way we used to do things in HTML5 has changed as well as many new features have been introduced. Below is a list of some of the top features.
What better place to start of this article about the list of features and changes in HTML5 other that our very own doctype. The doctype now no longer needs to be a long extended one but simply the following will suffice: <!Doctype html>
So far we used to write the name or caption of the image manually beside ‘img’ tags of the image. Things have changed now. The above can be achieved in simples steps like below:
<img src=”/image/imagename.jpg” alt=”my image” />
<p>This is my image</p>
The tag <small> is now different. It stands for small print like one would use for a copyright statement in the footer of a website.
It is no longer necessary to include the attribute type in the tags Script and Link. For example in both the statements below, the attribute type is not required as far as HTML5 is concerned.
<link type=”text/css” href=”stylesheet.css” />
Closing the tag behind you:
HTML5 is not XHTML hence it is not necessary to wrap the attributes in quotation marks neither is it necessary to close a tag hence the below is perfectly ok
<p id=myID> This is great
This is something new and handy with the new browsers. They have the ability to edit elements by using a new tag contenteditable.
For example in the code below it is possible to add to the ul li list.
<h2>To Do List</h2>
<li> Buy Milk </li>
<li> Buy bread </li>
Alakmalak is a website design company in india that can help you out with small and big tasks about web design services.
If you like this blog Please Plus it, Like It ,Tweet It and best yet link to It.