Skip to content

Commit

Permalink
remove unnecessary markup to simplify testing
Browse files Browse the repository at this point in the history
  • Loading branch information
amerikan committed Sep 24, 2015
1 parent 796ff35 commit aaa6416
Showing 1 changed file with 69 additions and 85 deletions.
154 changes: 69 additions & 85 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,92 +20,76 @@ <h1>HTML5 Placeholder jQuery Plugin</h1>
<a href="https://github.com/mathiasbynens/jquery-placeholder"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a>

<form>
<div>
<label><code>type=radio</code></label>
<input type="radio" name="color" placeholder="This can't be seen"> Red
<input type="radio" name="color" placeholder="This can't be seen"> Green
<input type="radio" name="color" placeholder="This can't be seen"> Blue
</div>

<div>
<label><code>type=checkbox</code></label>
<input type="checkbox" name="fruits" placeholder="This can't be seen"> Apple
<input type="checkbox" name="fruits" placeholder="This can't be seen"> Banana
<input type="checkbox" name="fruits" placeholder="This can't be seen"> Pear
</div>

<div>
<label><code>type=hidden</code></label>
<input type="hidden" name="hidden" placeholder="This can't be seen">
</div>

<div>
<label>
<code>type=search</code>
<input type="search" name="search" placeholder="Search this site…">
</label>
</div>
<input type="radio" name="color" placeholder="This can't be seen"> Red
<input type="radio" name="color" placeholder="This can't be seen"> Green
<input type="radio" name="color" placeholder="This can't be seen"> Blue

<br />

<input type="checkbox" name="fruits" placeholder="This can't be seen"> Apple
<input type="checkbox" name="fruits" placeholder="This can't be seen"> Banana
<input type="checkbox" name="fruits" placeholder="This can't be seen"> Pear

<br />

<input type="hidden" name="hidden" placeholder="This can't be seen">

<br />

<input type="search" name="search" placeholder="type=search">

<br />
<br />

<input type="text" name="name" placeholder="type=text">

<br />
<br />

<input type="email" name="email" placeholder="type=email">

<br />
<br />

<input type="url" name="url" placeholder="type=url">

<br />
<br />

<input type="tel" name="tel" placeholder="type=tel">

<br />
<br />

<input type="password" name="password" placeholder="type=password" id="p">

<br />
<br />

<textarea name="message" placeholder="textarea"></textarea>

<br />

<div>
<label>
<code>type=text</code>
<input type="text" name="name" placeholder="e.g. John Doe">
</label>
</div>
<div>
<label>
<code>type=email</code>
<input type="email" name="email" placeholder="e.g. address@example.ext">
</label>
</div>
<div>
<label>
<code>type=url</code>
<input type="url" name="url" placeholder="e.g. http://mathiasbynens.be/">
</label>
</div>
<div>
<label>
<code>type=tel</code>
<input type="tel" name="tel" placeholder="e.g. +32 472 77 69 88">
</label>
</div>
<div>
<label for="p">
<code>type=password</code>
</label>
<input type="password" name="password" placeholder="e.g. hunter2" id="p">
</div>
<div>
<label>
<code>textarea</code>
<textarea name="message" placeholder="Your message goes here"></textarea>
</label>
</div>

<div>
<label>
<code>disabled type=text</code>
<input type="text" name="location" disabled="disabled" placeholder="e.g. San Francisco">
</label>
</div>
<div>
<label for="c">
<code>disabled type=password</code>
</label>
<input type="password" name="code" disabled="disabled" placeholder="e.g. pass123" id="c">
</div>
<div>
<label>
<code>disabled textarea</code>
<textarea name="comments" disabled="disabled" placeholder="Your comments go here"></textarea>
</label>
</div>

<div>
<input type="submit" value="type=submit">
<input type="reset" value="type=reset">
</div>
<input type="text" name="location" disabled="disabled" placeholder="disabled type=text">

<br />

<input type="password" name="code" disabled="disabled" placeholder="disabled type=password">

<br />

<textarea name="comments" disabled="disabled" placeholder="disabled textarea"></textarea>

<br />
<br />

<label for="p">Click me to focus password field</label>

<br />
<br />

<input type="submit" value="type=submit">
<input type="reset" value="type=reset">
</form>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
Expand Down

0 comments on commit aaa6416

Please sign in to comment.