1. htmlinputelement api: dirname

  2. html element: input: dirname