June 2016
Intermediate to advanced
910 pages
18h 59m
English
We open with a standard HTML5 DOCTYPE:
<!DOCTYPE html>
Following this, we open the document, specifying UTF-8 as the charset. If the web page is served correctly, the charset should be specified with the page download, but this is still potentially helpful in terms of defensive coding, which is always something to keep in mind:
<html lang="en">
<head>
<meta charset="utf-8" />Hence the document title:
<title>A video game on an HP-28S scientific
calculator</title>The font used here is a retro VT series font, associated with the venerable VT100 and other series of Unix terminals. Note—as will be seen in code later—that while the VT100 series was a monospaced terminal, the font is not strictly a monospaced font and simply displaying ...
Read now
Unlock full access