HTML:
JavaScript:
Java: