La fecha y la hora son:

Propiedades obtenidas mediante JavaScript:

  1. InnerHTML de elemento identificado por id="h2":
  2. OuterHTML de elemento identificado por id="h1":
  3. Propiedad global location.href:
  4. Propiedad global location:
    1. location.hash:
    2. location.host:
    3. location.hostname:
    4. location.origin:
    5. location.pathname:
    6. location.port:
    7. location.protocol:
    8. location.search:
    1. Propiedad global screen.width:
    2. Propiedad global screen.heigth: