Input

Z PHPEdia.pl

Rodzaj pola w formularzu HTML. Jest to pole wielofunkcyjne, pełni różną rolę w zależności od parametru type.

Spis treści

Przykład

<input name="mojepole" />

Przykład - input typu password

Dane wpisywane w polu input typu password pojawiają się w postaci gwiazdek (******)

<input name="mojepole" type="password" />

Parametry

  • name - nazwa pola
  • type - typ pola. Gdy pominięty, domyślnie ustawiony na "text"

Zobacz także