Skip to content

Instantly share code, notes, and snippets.

View aaggour's full-sized avatar

Ahmad Aggour aaggour

View GitHub Profile
@aaggour
aaggour / tel type
Created July 30, 2019 20:58
tel type
<input type="tel">
(<input type=tel size=3>) <input type=tel size=3> -
<input type=tel size=4>
@aaggour
aaggour / email type
Created July 30, 2019 20:40
email type
<input type="email">
<input type="email" multiple>
@aaggour
aaggour / multiple attribute
Created July 30, 2019 18:47
multiple attribute
<input type=file multiple>
<input type=email multiple>
<input type=range min=0 max=10 value="2,4" multiple>
@aaggour
aaggour / accept attribute
Created July 30, 2019 18:45
accept attribute
<input type=file accept="image/*">
@aaggour
aaggour / dirname attribute
Created July 30, 2019 18:43
dirname attribute
<input type="text" name="foo" dirname="foo.dir">
<input type="submit">
@aaggour
aaggour / inputmode attribute
Created July 30, 2019 18:40
inputmode attribute
<input type="text" name="zip" inputmode="numeric">
<input type="text" x-inputmode="numeric">
@aaggour
aaggour / form attribute
Created July 30, 2019 18:37
form attribute
<input type="text" form="form_id">
<form id="form_id">
<input type="submit">
</form>
@aaggour
aaggour / checked attribute
Created July 30, 2019 18:34
checked attribute
<input type="checkbox" checked name="foo" value="bar">
<input type="checkoxb" name="baz" value="zap">
<input type="radio" checked name="bip" value="true">
<input type="radio" checked name="bip" value="false">
@aaggour
aaggour / height, width, alt and src attribute
Created July 30, 2019 18:07
height, width, alt and src attribute
<input type="image" src="https://media.giphy.com/media/3ohzdIuqJoo8QdKlnW/giphy.gif"
height="100" width="100"
alt="click me">
@aaggour
aaggour / name attribute
Created July 30, 2019 18:01
name attribute
<input type="text" name="foo">
<input type="text" name="bar">
<input type="submit" name="submit" value="Test me">
<ol>
<li><input type="radio" name="rbtn" value="1"> 1st Choice</li>
<li><input type="radio" name="rbtn" value="2"> 2nd Choice</li>
<li><input type="radio" name="rbtn" value="3"> 3rd Choice </li>
</ol>