Web Design

The Ultimate Features of HTML5

Rushik Shah User Icon By: Rushik Shah

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.

Features of HTML5

New Doctype:

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>

Image Captions:

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:
<figure>
<img src=”/image/imagename.jpg” alt=”my image” />
<figcaption>
<p>This is my image</p>
</figcaption>
</figure>

<small> tag:

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.

Type-less: 

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”  />
<script type=”text/javascript” src=”javascript.js” > </script>

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

Editable content:

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.
<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”utf-8”>
<title>untitled</title>
</head>
<body>
<h2>To Do List</h2>
<ul contenteditable=”true”>
<li>  Buy Milk </li>
<li>  Buy bread </li>
</ul>
</body>
</html>

Alakmalak is a website design company in india that can help you out with small and big tasks about web design services.

Why Choose Alakmalak As a Your Growth Partner?

Looking to outsource Website Design & Development Work?

Alakmalak is a web development company in India that offers services for several technologies. There have been around for a very long time and have developed over 2500 projects for clients all around the world. They have highly skilled web developers with a great deal of experience.

  • What are the main features of html

What’s Next ?

I know after reading such an interesting article you will be waiting for more. Here are the best opportunities waiting for you.

Share via
Copy link
Powered by Social Snap