Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

A. Kurzreferenz > A.4 Attribute für Formularfelder

A.4 Attribute für Formularfelder

Autofokus-Unterstützung [<input type=“text” autofocus>]

Ermöglicht das Festlegen des Fokus auf ein bestimmtes Formularelement. [C5, S4]

Verwendet im Abschnitt „4 Mit autofocus zum ersten Feld springen“.

Unterstützung für Platzhalter [<input type=“email”placeholder= “me@example.com”>]

Unterstützt die Anzeige von Platzhaltertext in einem Formularfeld. [C5, S4, F4]

Verwendet im Abschnitt „5 Platzhaltertext für Hinweise nutzen“.

required [<input type=“email” required >]

Macht ein Feld zum Pflichtfeld. [C5, S5, O10.6]

Verwendet im „11.6 Clientseitige Formularvalidierung“.

pattern [<input type=“text”pattern=“^[1-9]+[0-9]*$”> ]

Validiert Formularfelddaten anhand eines bestimmten regulären Ausdrucks. [C5, S5, O10.6]


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint