Share:
HTML 5 is a new standard for HTML. Hypertext Markup Language revision 5 (HTML5) is markup language for the structure and presentation of World Wide Web contents. HTML5 supports the traditional HTML and XHTML-style syntax and other new features in its markup.
Example:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Title of the document</title>
</head>
<body>
Content of the document......
</body>
</html>
New HTML5 elements are:
New HTML5 semantic elements like <header>
, <footer>
, <article>
, and <section>
.
New HTML5 attributes of form elements like number, date, time, calendar, and range.
New HTML5 graphic elements: <svg>
and <canvas>
.
New HTML5 multimedia elements: <audio>
and <video>
.