Difference between revisions of "Input Element Type Text"

From Level Access Web Labs
Jump to navigation Jump to search
Line 28: Line 28:
 
</html>
 
</html>
  
 +
==Input with implicit label==
 +
<html>
 +
  <label>
 +
    <input id="i1" placeholder="enter search term here" type="text" />
 +
    <span id="s1" style="border:solid thin;"> Search </span>
 +
  </label>
 +
</html>
 +
 +
==Input with explicit and implicit label==
 +
<html>
 +
  <label for id="s1">
 +
    <input id="i1" placeholder="enter search term here" type="text" />
 +
    <span id="s1" style="border:solid thin;"> Search </span>
 +
  </label>
 +
</html>
  
 
[[Category:Elements]]
 
[[Category:Elements]]

Revision as of 17:26, 27 March 2014

Input text with title

Input text with label

Input text with aria-label

Search

Input text with aria-labelledby

Search

Input image with alt

Input with implicit label

Input with explicit and implicit label