Exercise 1: HTML and Markup Languages
The aims of this lab are:
- to write and, importantly, validate some
HTML
- to develop some familiarity with the formal markup language
specifications - both the descriptions and DTDs, and
- to familiarise yourself with some of the developments and issues in markup language
specification and use.
W3Schools
Work through the W3Schools Tutorial:
https://www.w3schools.com/html/default.asp
from the start up to HTML Blocks, and also to the section on
HTML Forms.
Create your own home page
Continue working on your homepage you started last week.
Try adding a form to the page. The form should collect a users name, email and date of birth.
Use HTML5 input types, and check that they work in the browser.
Validation
-
Validate your HTML5 page using the validation service at:
https://validator.w3.org/.
Try to fix
any problems that appear during validation.