Professional Documents
Culture Documents
History of HTML
1999 HTML 4.01 XHTML 2.0 had even stricter standards than 1.0,
rejecting web pages that did not comply. It fell out of
2000 XHTML 1.0 favor gradually and was abandoned completely in
2009.
2002
-2009
HTML5 is much more tolerant and can handle
XHTML 2.0
markup from all the prior versions.
HTML Geolocation
HTML Drag and Drop
HTML Local Storage
HTML Application Cache
HTML Web Workers
HTML SSE
attributes
value
Readonly
Disabled
Size
Maxlength
HTML5 Semantic Elements
Semantics is the study of the meanings of words and phrases in
a language.
Semantic elements = elements with a meaning
<aside>
<figcaption>
<figure>
<footer>
<header>
<nav>
<section>
Developers used their own id/class names to style
elements: header, top, bottom, footer, menu,
navigation, main, container, content, article, sidebar in
html 4
This made it impossible for search engines to identify
the correct web page content.
better search engine ranking will possible.
page.
JavaScript.
graphics.
With local storage, web applications can store data locally within
the user's browser.
Before HTML5, application data had to be stored in cookies,
included in every server request. Local storage is more secure,
and large amounts of data can be stored locally, without
affecting website performance.
Unlike cookies, the storage limit is far larger (at least 5MB) and
information is never transferred to the server.
Local storage is per origin (per domain and protocol). All pages,
from one origin, can store and access the same data.
HTML local storage provides two objects for storing data
on the client:
window.localStorage - stores data with no expiration date