links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Last updated at 8:36 pm UTC on 21 October 2020
Living Standard: https://html.spec.whatwg.org/

Simple correct HTML5 document

 <!DOCTYPE html>
 <title>The title of the document</title>
 The text ...


"HTML5 is a semantic markup language."

"The real power of HTML5 is in CSS3, JavaScript and many of the ancillary technologies, such as WebGL, WebSockets and so on, that surround it. At long last we had not one but two standard ways of doing graphics - SVG for vector graphics and Canvas for bitmaps. JavaScript, now seen an absolutely essential language, was improved so that it ran fast. Without a good JavaScript implementation the whole HTML5 enterprise is just silly."

<?xml version="1.0" encoding="UTF-8"?>
<html xml:lang="en" lang="en">


h1   {color: red;




<ul id="beverages">
<span id="note"></span>


// JavaScript statements
// This will be evaluated after the document has been loaded
// making it possible to easily access DOM elements.

var list = document.getElementById("beverages");
var listlength = list.children.length;
var note = document.getElementById("note");
note.textContent = listlength + " types of beverages";