<!DOCTYPE html><html><head><meta charset="utf-8"></head><body>
<!-- Any copyright is dedicated to the Public Domain.
    - http://creativecommons.org/publicdomain/zero/1.0/ -->

  <!-- Simplest login form with username's maxlength attribute set -->
  <form id="form-basic-max-password">
    <input id="form-basic-username" name="username" maxlength="5">
    <input id="form-basic-password" name="password" type="password" >
    <input id="form-basic-submit" type="submit">
  </form>

  <!-- Simplest login form with password's maxlength attribute set -->
  <form id="form-basic-max-username">
    <input id="form-basic-username" name="username">
    <input id="form-basic-password" name="password" type="password" maxlength="5">
    <input id="form-basic-submit" type="submit">
  </form>

</body></html>
