Difference between revisions of "Input Element Type Text"

From Level Access Web Labs
Jump to navigation Jump to search
(Input text with label (autocomplete on))
(Input text with label (autocomplete on))
Line 67: Line 67:
 
<html>
 
<html>
 
   <input autocomplete="on" id="ia2" placeholder="enter search term here" type="text" />
 
   <input autocomplete="on" id="ia2" placeholder="enter search term here" type="text" />
   <label for="ia2"> Search </label>
+
   <label for="ia2" visibility: hidden;> Search </label>
  
 
</html>
 
</html>

Revision as of 15:14, 6 May 2016

Input text with title (required, placeholder, autofocus)

Input text with label (required)

Input text with aria-label

Search

Input text with aria-labelledby

Search

Input with implicit label

Input with explicit and implicit label

Input text with label and aria-describedby

You can search for anything you want.

Disabled Input text with label

Readonly Input text with label

Input text with label (autocomplete on)