HTML and CSS Reference
In-Depth Information
HTML5 introduced new structural and multimedia elements for the markup, and Application Programming
Interfaces (APIs) to extend the capabilities of the core specification, and provide the option to develop web
applications. The web applications written in HTML5 are accessible and device-independent, and need declarative
programming (much less coding) compared to traditional procedural programming [27], while code reuse is easy.
To use HTML5 in its full glory, it is usually used together with other technologies such as CSS3, XML, and JavaScript
Listing 3-7 shows an HTML5 skeleton document.
Listing 3-7. An HTML5 Skeleton Document
<!DOCTYPE html>
<title>Sample HTML5 document</title>
<meta charset="UTF-8" />
<h1>Document sample</h1>
The first article of the document.
The second article of the document.
Copyright © 2015 John Smith. All rights reserved.
HTML5 Modules
HTML5 is modular, providing the option to use extension specifications that define new elements, new attributes, new
attribute values, and new APIs. There are three types of HTML5 modules:
Technologies that were originally parts of the HTML5 specification, but later moved
to separate specifications: HTML5 Microdata, HTML5 Canvas, Web Messaging, Web
Workers, Web Storage, WebSocket, Server-Sent Events, WebRTC, WebVTT
Specifications developed as HTML5 extensions: HTML+RDFa, Polyglot Markup, HTML
Editing APIs, Media Capture and Streams, Media Source Extensions
Initially standalone specifications that have been adopted by the HTML5 specification:
Search WWH ::

Custom Search