Hello, world!

HTML 5 HTML

On this HTML Tutorial, we will confer about the recent features of HTML 5 that gives not merely rich media support, however also to develop support for producing web applications that can act together with the user, data, and servers more faster and efficient than older versions.



HTML5 Introduction

What is the latest in HTML5?
HTML 5 has a very simple DOCTYPE declaration.  
To specify that your HTML document uses HTML5, simply use: <!DOCTYPE html>
The declaration of character encoding (charset) for HTML 5 is also very simple. UTF-8 is the default character encoding in HTML5.
To specify the character set that is applied in HTML5, simply apply: <meta charset="UTF-8">



Basic HTML5 Example

HTML code example basic html5 example:

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Document Title</title>
</head>
<body>
Content…..
</body>
</html>

HTML output basic html5 example:

Document Title Content…..

New Elements and API's (Application Programming Interfaces) in HTML5

The following are the new Elements and API's in HTML5

Semantic Elements - <header>, <footer>, <article>, and <section>
Form control attributes - number, date, time, calendar, and range
Graphic elements - <svg> and <canvas>
Multimedia elements - <audio> and <video>
API's (Application Programming Interfaces) - HTML Geolocation, HTML Drag and Drop, HTML Local Storage, HTML Application Cache, HTML Web Workers, HTML SSE



Removed Elements in HTML5

The following are thr removed elements in HTML5

<acronym> replaced to <abbr>
<applet> replaced to <object>
<basefont> replaced to CSS
<big> replaced to CSS
<center> replaced to CSS
<dir> replaced to <ul>
<font> replaced to CSS
<frame>                      
<frameset>                 
<noframes>                
<strike> replaced to CSS
<tt> replaced to CSS