HTML5 Introduction

in #html56 years ago

images (8).jpeg
source

What is New in HTML5?

The DOCTYPE declaration for HTML5 is very simple:

The character encoding (charset) declaration is also very simple:

meta charset="UTF-8"

HTML5 Example:

html head meta charset="UTF-8" title Title of the document

body
Content of the document......

The default character encoding in HTML5 is UTF-8.

New HTML5 API's (Application Programming Interfaces)

The most interesting new API's in HTML5 are:

HTML GeolocationHTML Drag and DropHTML Local StorageHTML Application CacheHTML Web WorkersHTML SSE

Tip: HTML Local storage is a powerful replacement for cookies.
New HTML5 Elements

The most interesting new HTML5 elements are:

New semantic elements like header, footer, article, and section.

New attributes of form elements like number, date, time, calendar, and range.

New graphic elements: svg and canvas.

New multimedia elements: audio and video.

Removed Elements in HTML5

The following HTML4 elements have been removed in HTML5:

Sort:  

This post has received a 3.13 % upvote from @drotto thanks to: @rabiul21.

Coin Marketplace

STEEM 0.20
TRX 0.12
JST 0.029
BTC 61399.54
ETH 3383.74
USDT 1.00
SBD 2.50