8 Commits
0.5.0 ... 0.6.0

Author SHA1 Message Date
Chris Bracco
c227c4daa6 v0.6.0
- Update indentation and whitespace.
- Add to npm.
2016-02-01 10:17:25 -05:00
Chris Bracco
bacedcf473 Add package.json file
Add a package.json file so people can pull this into their projects as a
3rd party library via npm.
2016-02-01 10:16:03 -05:00
Chris Bracco
d9bb5636a4 Remove whitespace and fix indentation
This is really just updating the file to match my current personal
preferences for formatting HTML files. No functionality is changing
here.
2016-02-01 09:33:07 -05:00
Chris Bracco
c3cae26738 Change tab size from 4 to 2
I am using 2 spaces in all of my projects for indentation size because
it is the only size that will render the same across all environments.
2016-02-01 09:30:21 -05:00
cbracco
3a5d46820b update readme 2015-12-21 16:08:37 -05:00
cbracco
6c099a4351 Merge branch 'master' into gh-pages
* master:
  0.5.0
  update iframe src; add viewport meta tag
2015-12-03 18:49:30 -05:00
cbracco
5921d0d7c9 Merge branch 'master' into gh-pages
* master:
  v0.4.0
  add meter element; reorganize a few existing elements
  rename test.html to index.html
2015-08-17 20:41:54 +02:00
cbracco
6314722406 rename test.html to index.html 2015-08-17 16:02:57 +02:00
4 changed files with 430 additions and 481 deletions

View File

@@ -1,3 +1,8 @@
# 0.6.0 (February 1, 2015)
- Update indentation and whitespace.
- Add to npm.
# 0.5.0 (December 13, 2015) # 0.5.0 (December 13, 2015)
- Update `<iframe>` source attribute to point to `index.html` (so meta). - Update `<iframe>` source attribute to point to `index.html` (so meta).

View File

@@ -26,6 +26,6 @@ When submitting a pull request, **please checkout a new feature branch, and subm
HTML Test Page is licensed under the MIT Open Source license. For more information, see the [LICENSE.md](https://github.com/cbracco/html5-test-page/blob/master/LICENSE.md) file in this repository. HTML Test Page is licensed under the MIT Open Source license. For more information, see the [LICENSE.md](https://github.com/cbracco/html5-test-page/blob/master/LICENSE.md) file in this repository.
## Colophon ## Credits
Made by [@cbracco](http://cbracco.me). Made by [@cbracco](http://cbracco.me). This project is based on the [test file](https://github.com/necolas/normalize.css/blob/master/test.html) included in [@necolas](https://github.com/necolas/)s [normalize.css](https://github.com/necolas/normalize.css/) project.

View File

@@ -1,489 +1,409 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML5 Test Page</title> <title>HTML5 Test Page</title>
</head> </head>
<body> <body>
<div id="top" class="page" role="document"> <div id="top" class="page" role="document">
<header role="banner"> <header role="banner">
<h1>HTML5 Test Page</h1> <h1>HTML5 Test Page</h1>
<p>This is a test page filled with common HTML elements to be used to provide visual feedback whilst building CSS systems and frameworks.</p> <p>This is a test page filled with common HTML elements to be used to provide visual feedback whilst building CSS systems and frameworks.</p>
</header> </header>
<nav role="navigation">
<nav role="navigation"> <ul>
<li>
<a href="#text">Text</a>
<ul> <ul>
<li> <li><a href="#text__headings">Headings</a></li>
<a href="#text">Text</a> <li><a href="#text__paragraphs">Paragraphs</a></li>
<ul> <li><a href="#text__blockquotes">Blockquotes</a></li>
<li><a href="#text__headings">Headings</a></li> <li><a href="#text__lists">Lists</a></li>
<li><a href="#text__paragraphs">Paragraphs</a></li> <li><a href="#text__hr">Horizontal rules</a></li>
<li><a href="#text__blockquotes">Blockquotes</a></li> <li><a href="#text__tables">Tabular data</a></li>
<li><a href="#text__lists">Lists</a></li> <li><a href="#text__code">Code</a></li>
<li><a href="#text__hr">Horizontal rules</a></li> <li><a href="#text__inline">Inline elements</a></li>
<li><a href="#text__tables">Tabular data</a></li>
<li><a href="#text__code">Code</a></li>
<li><a href="#text__inline">Inline elements</a></li>
</ul>
</li>
<li>
<a href="#embedded">Embedded content</a>
<ul>
<li><a href="#embedded__images">Images</a></li>
<li><a href="#embedded__audio">Audio</a></li>
<li><a href="#embedded__video">Video</a></li>
<li><a href="#embedded__canvas">Canvas</a></li>
<li><a href="#embedded__meter">Meter</a></li>
<li><a href="#embedded__progress">Progress</a></li>
<li><a href="#embedded__svg">Inline SVG</a></li>
<li><a href="#embedded__iframe">IFrames</a></li>
</ul>
</li>
<li>
<a href="#forms">Form elements</a>
<ul>
<li><a href="#forms__input">Input fields</a></li>
<li><a href="#forms__select">Select menus</a></li>
<li><a href="#forms__checkbox">Checkboxes</a></li>
<li><a href="#forms__radio">Radio buttons</a></li>
<li><a href="#forms__textareas">Textareas</a></li>
<li><a href="#forms__html5">HTML5 inputs</a></li>
<li><a href="#forms__action">Action buttons</a></li>
</ul>
</li>
</ul> </ul>
</nav> </li>
<li>
<main role="main"> <a href="#embedded">Embedded content</a>
<section id="text"> <ul>
<header><h1>Text</h1></header> <li><a href="#embedded__images">Images</a></li>
<li><a href="#embedded__audio">Audio</a></li>
<article id="text__headings"> <li><a href="#embedded__video">Video</a></li>
<header> <li><a href="#embedded__canvas">Canvas</a></li>
<h1>Headings</h1> <li><a href="#embedded__meter">Meter</a></li>
</header> <li><a href="#embedded__progress">Progress</a></li>
<li><a href="#embedded__svg">Inline SVG</a></li>
<div> <li><a href="#embedded__iframe">IFrames</a></li>
<h1>Heading 1</h1> </ul>
<h2>Heading 2</h2> </li>
<h3>Heading 3</h3> <li>
<h4>Heading 4</h4> <a href="#forms">Form elements</a>
<h5>Heading 5</h5> <ul>
<h6>Heading 6</h6> <li><a href="#forms__input">Input fields</a></li>
</div> <li><a href="#forms__select">Select menus</a></li>
<li><a href="#forms__checkbox">Checkboxes</a></li>
<footer><p><a href="#top">[Top]</a></p></footer> <li><a href="#forms__radio">Radio buttons</a></li>
</article> <li><a href="#forms__textareas">Textareas</a></li>
<li><a href="#forms__html5">HTML5 inputs</a></li>
<article id="text__paragraphs"> <li><a href="#forms__action">Action buttons</a></li>
<header><h1>Paragraphs</h1></header> </ul>
</li>
<div> </ul>
<p>A paragraph (from the Greek paragraphos, “to write beside” or “written beside”) is a self-contained unit of a discourse in writing dealing with a particular point or idea. A paragraph consists of one or more sentences. Though not required by the syntax of any language, paragraphs are usually an expected part of formal writing, used to organize longer prose.</p> </nav>
</div> <main role="main">
<section id="text">
<footer><p><a href="#top">[Top]</a></p></footer> <header><h1>Text</h1></header>
</article> <article id="text__headings">
<header>
<article id="text__blockquotes"> <h1>Headings</h1>
<header><h1>Blockquotes</h1></header> </header>
<div>
<div> <h1>Heading 1</h1>
<blockquote> <h2>Heading 2</h2>
<p>A block quotation (also known as a long quotation or extract) is a quotation in a written document, that is set off from the main text as a paragraph, or block of text.</p> <h3>Heading 3</h3>
<p>It is typically distinguished visually using indentation and a different typeface or smaller size quotation. It may or may not include a citation, usually placed at the bottom.</p> <h4>Heading 4</h4>
<cite><a href="#!">Said no one, ever.</a></cite> <h5>Heading 5</h5>
</blockquote> <h6>Heading 6</h6>
</div> </div>
<footer><p><a href="#top">[Top]</a></p></footer>
<footer><p><a href="#top">[Top]</a></p></footer> </article>
</article> <article id="text__paragraphs">
<header><h1>Paragraphs</h1></header>
<article id="text__lists"> <div>
<header><h1>Lists</h1></header> <p>A paragraph (from the Greek paragraphos, “to write beside” or “written beside”) is a self-contained unit of a discourse in writing dealing with a particular point or idea. A paragraph consists of one or more sentences. Though not required by the syntax of any language, paragraphs are usually an expected part of formal writing, used to organize longer prose.</p>
</div>
<div> <footer><p><a href="#top">[Top]</a></p></footer>
<h3>Definition list</h3> </article>
<dl> <article id="text__blockquotes">
<dt>Definition List Title</dt> <header><h1>Blockquotes</h1></header>
<dd>This is a definition list division.</dd> <div>
</dl> <blockquote>
<p>A block quotation (also known as a long quotation or extract) is a quotation in a written document, that is set off from the main text as a paragraph, or block of text.</p>
<h3>Ordered List</h3> <p>It is typically distinguished visually using indentation and a different typeface or smaller size quotation. It may or may not include a citation, usually placed at the bottom.</p>
<ol> <cite><a href="#!">Said no one, ever.</a></cite>
<li>List Item 1</li> </blockquote>
<li>List Item 2</li> </div>
<li>List Item 3</li> <footer><p><a href="#top">[Top]</a></p></footer>
</ol> </article>
<article id="text__lists">
<h3>Unordered List</h3> <header><h1>Lists</h1></header>
<ul> <div>
<li>List Item 1</li> <h3>Definition list</h3>
<li>List Item 2</li> <dl>
<li>List Item 3</li> <dt>Definition List Title</dt>
</ul> <dd>This is a definition list division.</dd>
</div> </dl>
<h3>Ordered List</h3>
<footer><p><a href="#top">[Top]</a></p></footer> <ol>
</article> <li>List Item 1</li>
<li>List Item 2</li>
<article id="text__hr"> <li>List Item 3</li>
<header><h1>Horizontal rules</h1></header> </ol>
<h3>Unordered List</h3>
<div> <ul>
<hr> <li>List Item 1</li>
</div> <li>List Item 2</li>
<li>List Item 3</li>
<footer><p><a href="#top">[Top]</a></p></footer> </ul>
</article> </div>
<footer><p><a href="#top">[Top]</a></p></footer>
<article id="text__tables"> </article>
<header><h1>Tabular data</h1></header> <article id="text__hr">
<header><h1>Horizontal rules</h1></header>
<table> <div>
<caption>Table Caption</caption> <hr>
<thead> </div>
<tr> <footer><p><a href="#top">[Top]</a></p></footer>
<th>Table Heading 1</th> </article>
<th>Table Heading 2</th> <article id="text__tables">
<th>Table Heading 3</th> <header><h1>Tabular data</h1></header>
<th>Table Heading 4</th> <table>
<th>Table Heading 5</th> <caption>Table Caption</caption>
</tr> <thead>
</thead> <tr>
<th>Table Heading 1</th>
<tfoot> <th>Table Heading 2</th>
<tr> <th>Table Heading 3</th>
<th>Table Footer 1</th> <th>Table Heading 4</th>
<th>Table Footer 2</th> <th>Table Heading 5</th>
<th>Table Footer 3</th> </tr>
<th>Table Footer 4</th> </thead>
<th>Table Footer 5</th> <tfoot>
</tr> <tr>
</tfoot> <th>Table Footer 1</th>
<th>Table Footer 2</th>
<tbody> <th>Table Footer 3</th>
<tr> <th>Table Footer 4</th>
<td>Table Cell 1</td> <th>Table Footer 5</th>
<td>Table Cell 2</td> </tr>
<td>Table Cell 3</td> </tfoot>
<td>Table Cell 4</td> <tbody>
<td>Table Cell 5</td> <tr>
</tr> <td>Table Cell 1</td>
<tr> <td>Table Cell 2</td>
<td>Table Cell 1</td> <td>Table Cell 3</td>
<td>Table Cell 2</td> <td>Table Cell 4</td>
<td>Table Cell 3</td> <td>Table Cell 5</td>
<td>Table Cell 4</td> </tr>
<td>Table Cell 5</td> <tr>
</tr> <td>Table Cell 1</td>
<tr> <td>Table Cell 2</td>
<td>Table Cell 1</td> <td>Table Cell 3</td>
<td>Table Cell 2</td> <td>Table Cell 4</td>
<td>Table Cell 3</td> <td>Table Cell 5</td>
<td>Table Cell 4</td> </tr>
<td>Table Cell 5</td> <tr>
</tr> <td>Table Cell 1</td>
<tr> <td>Table Cell 2</td>
<td>Table Cell 1</td> <td>Table Cell 3</td>
<td>Table Cell 2</td> <td>Table Cell 4</td>
<td>Table Cell 3</td> <td>Table Cell 5</td>
<td>Table Cell 4</td> </tr>
<td>Table Cell 5</td> <tr>
</tr> <td>Table Cell 1</td>
</tbody> <td>Table Cell 2</td>
</table> <td>Table Cell 3</td>
<td>Table Cell 4</td>
<footer><p><a href="#top">[Top]</a></p></footer> <td>Table Cell 5</td>
</article> </tr>
</tbody>
<article id="text__code"> </table>
<header><h1>Code</h1></header> <footer><p><a href="#top">[Top]</a></p></footer>
</article>
<div> <article id="text__code">
<p><strong>Keyboard input:</strong> <kbd>Cmd</kbd></p> <header><h1>Code</h1></header>
<p><strong>Inline code:</strong> <code>&lt;div&gt;code&lt;/div&gt;</code></p> <div>
<p><strong>Sample output:</strong> <samp>This is sample output from a computer program.</samp></p> <p><strong>Keyboard input:</strong> <kbd>Cmd</kbd></p>
<p><strong>Inline code:</strong> <code>&lt;div&gt;code&lt;/div&gt;</code></p>
<h2>Pre-formatted text</h2> <p><strong>Sample output:</strong> <samp>This is sample output from a computer program.</samp></p>
<h2>Pre-formatted text</h2>
<pre>P R E F O R M A T T E D T E X T <pre>P R E F O R M A T T E D T E X T
! " # $ % &amp; ' ( ) * + , - . / ! " # $ % &amp; ' ( ) * + , - . /
0 1 2 3 4 5 6 7 8 9 : ; &lt; = &gt; ? 0 1 2 3 4 5 6 7 8 9 : ; &lt; = &gt; ?
@ A B C D E F G H I J K L M N O @ A B C D E F G H I J K L M N O
P Q R S T U V W X Y Z [ \ ] ^ _ P Q R S T U V W X Y Z [ \ ] ^ _
` a b c d e f g h i j k l m n o ` a b c d e f g h i j k l m n o
p q r s t u v w x y z { | } ~ </pre> p q r s t u v w x y z { | } ~ </pre>
</div> </div>
<footer><p><a href="#top">[Top]</a></p></footer>
<footer><p><a href="#top">[Top]</a></p></footer> </article>
</article> <article id="text__inline">
<header><h1>Inline elements</h1></header>
<article id="text__inline"> <div>
<header><h1>Inline elements</h1></header> <p><a href="#!">This is a text link</a>.</p>
<p><strong>Strong is used to indicate strong importance.</strong></p>
<div> <p><em>This text has added emphasis.</em></p>
<p><a href="#!">This is a text link</a>.</p> <p>The <b>b element</b> is stylistically different text from normal text, without any special importance.</p>
<p>The <i>i element</i> is text that is offset from the normal text.</p>
<p><strong>Strong is used to indicate strong importance.</strong></p> <p>The <u>u element</u> is text with an unarticulated, though explicitly rendered, non-textual annotation.</p>
<p><del>This text is deleted</del> and <ins>This text is inserted</ins>.</p>
<p><em>This text has added emphasis.</em></p> <p><s>This text has a strikethrough</s>.</p>
<p>Superscript<sup>®</sup>.</p>
<p>The <b>b element</b> is stylistically different text from normal text, without any special importance.</p> <p>Subscript for things like H<sub>2</sub>O.</p>
<p><small>This small text is small for for fine print, etc.</small></p>
<p>The <i>i element</i> is text that is offset from the normal text.</p> <p>Abbreviation: <abbr title="HyperText Markup Language">HTML</abbr></p>
<p><q cite="https://developer.mozilla.org/en-US/docs/HTML/Element/q">This text is a short inline quotation.</q></p>
<p>The <u>u element</u> is text with an unarticulated, though explicitly rendered, non-textual annotation.</p> <p><cite>This is a citation.</cite>
</p><p>The <dfn>dfn element</dfn> indicates a definition.</p>
<p><del>This text is deleted</del> and <ins>This text is inserted</ins>.</p> <p>The <mark>mark element</mark> indicates a highlight.</p>
<p>The <var>variable element</var>, such as <var>x</var> = <var>y</var>.</p>
<p><s>This text has a strikethrough</s>.</p> <p>The time element: <time datetime="2013-04-06T12:32+00:00">2 weeks ago</time></p>
</div>
<p>Superscript<sup>®</sup>.</p> <footer><p><a href="#top">[Top]</a></p></footer>
</article>
<p>Subscript for things like H<sub>2</sub>O.</p> </section>
<p><small>This small text is small for for fine print, etc.</small></p> <section id="embedded">
<header><h1>Embedded content</h1></header>
<p>Abbreviation: <abbr title="HyperText Markup Language">HTML</abbr></p> <article id="embedded__images">
<header><h2>Images</h2></header>
<p><q cite="https://developer.mozilla.org/en-US/docs/HTML/Element/q">This text is a short inline quotation.</q></p> <div>
<h3>No <code>&lt;figure&gt;</code> element</h3>
<p><cite>This is a citation.</cite> <p><img src="http://placekitten.com/480/480" alt="Image alt text"></p>
<h3>Wrapped in a <code>&lt;figure&gt;</code> element, no <code>&lt;figcaption&gt;</code></h3>
</p><p>The <dfn>dfn element</dfn> indicates a definition.</p> <figure><img src="http://placekitten.com/420/420" alt="Image alt text"></figure>
<h3>Wrapped in a <code>&lt;figure&gt;</code> element, with a <code>&lt;figcaption&gt;</code></h3>
<p>The <mark>mark element</mark> indicates a highlight.</p> <figure>
<img src="http://placekitten.com/420/420" alt="Image alt text">
<p>The <var>variable element</var>, such as <var>x</var> = <var>y</var>.</p> <figcaption>Here is a caption for this image.</figcaption>
</figure>
<p>The time element: <time datetime="2013-04-06T12:32+00:00">2 weeks ago</time></p> </div>
</div> <footer><p><a href="#top">[Top]</a></p></footer>
</article>
<footer><p><a href="#top">[Top]</a></p></footer> <article id="embedded__audio">
</article> <header><h2>Audio</h2></header>
</section> <div><audio controls="">audio</audio></div>
<footer><p><a href="#top">[Top]</a></p></footer>
<section id="embedded"> </article>
<header><h1>Embedded content</h1></header> <article id="embedded__video">
<header><h2>Video</h2></header>
<article id="embedded__images"> <div><video controls="">video</video></div>
<header><h2>Images</h2></header> <footer><p><a href="#top">[Top]</a></p></footer>
<div> </article>
<h3>No <code>&lt;figure&gt;</code> element</h3> <article id="embedded__canvas">
<p><img src="http://placekitten.com/480/480" alt="Image alt text"></p> <header><h2>Canvas</h2></header>
<h3>Wrapped in a <code>&lt;figure&gt;</code> element, no <code>&lt;figcaption&gt;</code></h3> <div><canvas>canvas</canvas></div>
<figure><img src="http://placekitten.com/420/420" alt="Image alt text"></figure> <footer><p><a href="#top">[Top]</a></p></footer>
<h3>Wrapped in a <code>&lt;figure&gt;</code> element, with a <code>&lt;figcaption&gt;</code></h3> </article>
<figure> <article id="embedded__meter">
<img src="http://placekitten.com/420/420" alt="Image alt text"> <header><h2>Meter</h2></header>
<figcaption>Here is a caption for this image.</figcaption> <div><meter value="2" min="0" max="10">2 out of 10</meter></div>
</figure> <footer><p><a href="#top">[Top]</a></p></footer>
</div> </article>
<footer><p><a href="#top">[Top]</a></p></footer> <article id="embedded__progress">
</article> <header><h2>Progress</h2></header>
<div><progress>progress</progress></div>
<article id="embedded__audio"> <footer><p><a href="#top">[Top]</a></p></footer>
<header><h2>Audio</h2></header> </article>
<div><audio controls="">audio</audio></div> <article id="embedded__svg">
<footer><p><a href="#top">[Top]</a></p></footer> <header><h2>Inline SVG</h2></header>
</article> <div><svg width="100px" height="100px"><circle cx="100" cy="100" r="100" fill="#1fa3ec"></circle></svg></div>
<footer><p><a href="#top">[Top]</a></p></footer>
<article id="embedded__video"> </article>
<header><h2>Video</h2></header> <article id="embedded__iframe">
<div><video controls="">video</video></div> <header><h2>IFrame</h2></header>
<footer><p><a href="#top">[Top]</a></p></footer> <div><iframe src="index.html" height="300"></iframe></div>
</article> <footer><p><a href="#top">[Top]</a></p></footer>
</article>
<article id="embedded__canvas"> </section>
<header><h2>Canvas</h2></header> <section id="forms">
<div><canvas>canvas</canvas></div> <header><h1>Form elements</h1></header>
<footer><p><a href="#top">[Top]</a></p></footer> <form>
</article> <fieldset id="forms__input">
<legend>Input fields</legend>
<article id="embedded__meter"> <p>
<header><h2>Meter</h2></header> <label for="input__text">Text Input</label>
<div><meter value="2" min="0" max="10">2 out of 10</meter></div> <input id="input__text" type="text" placeholder="Text Input">
<footer><p><a href="#top">[Top]</a></p></footer> </p>
</article> <p>
<label for="input__password">Password</label>
<article id="embedded__progress"> <input id="input__password" type="password" placeholder="Type your Password">
<header><h2>Progress</h2></header> </p>
<div><progress>progress</progress></div> <p>
<footer><p><a href="#top">[Top]</a></p></footer> <label for="input__webaddress">Web Address</label>
</article> <input id="input__webaddress" type="url" placeholder="http://yoursite.com">
</p>
<article id="embedded__svg"> <p>
<header><h2>Inline SVG</h2></header> <label for="input__emailaddress">Email Address</label>
<div><svg width="100px" height="100px"><circle cx="100" cy="100" r="100" fill="#1fa3ec"></circle></svg></div> <input id="input__emailaddress" type="email" placeholder="name@email.com">
<footer><p><a href="#top">[Top]</a></p></footer> </p>
</article> <p>
<label for="input__phone">Phone Number</label>
<article id="embedded__iframe"> <input id="input__phone" type="tel" placeholder="(999) 999-9999">
<header><h2>IFrame</h2></header> </p>
<div><iframe src="index.html" height="300"></iframe></div> <p>
<footer><p><a href="#top">[Top]</a></p></footer> <label for="input__search">Search</label>
</article> <input id="input__search" type="search" placeholder="Enter Search Term">
</section> </p>
<p>
<section id="forms"> <label for="input__text2">Number Input</label>
<header><h1>Form elements</h1></header> <input id="input__text2" type="number" placeholder="Enter a Number">
</p>
<form> <p>
<fieldset id="forms__input"> <label for="input__text3" class="error">Error</label>
<legend>Input fields</legend> <input id="input__text3" class="is-error" type="text" placeholder="Text Input">
</p>
<p> <p>
<label for="input__text">Text Input</label> <label for="input__text4" class="valid">Valid</label>
<input id="input__text" type="text" placeholder="Text Input"> <input id="input__text4" class="is-valid" type="text" placeholder="Text Input">
</p> </p>
<p> </fieldset>
<label for="input__password">Password</label> <p><a href="#top">[Top]</a></p>
<input id="input__password" type="password" placeholder="Type your Password"> <fieldset id="forms__select">
</p> <legend>Select menus</legend>
<p> <p>
<label for="input__webaddress">Web Address</label> <label for="select">Select</label>
<input id="input__webaddress" type="url" placeholder="http://yoursite.com"> <select id="select">
</p> <optgroup label="Option Group">
<p> <option>Option One</option>
<label for="input__emailaddress">Email Address</label> <option>Option Two</option>
<input id="input__emailaddress" type="email" placeholder="name@email.com"> <option>Option Three</option>
</p> </optgroup>
<p> </select>
<label for="input__phone">Phone Number</label> </p>
<input id="input__phone" type="tel" placeholder="(999) 999-9999"> </fieldset>
</p> <p><a href="#top">[Top]</a></p>
<p> <fieldset id="forms__checkbox">
<label for="input__search">Search</label> <legend>Checkboxes</legend>
<input id="input__search" type="search" placeholder="Enter Search Term"> <ul class="list list--bare">
</p> <li><label for="checkbox1"><input id="checkbox1" name="checkbox" type="checkbox" checked="checked"> Choice A</label></li>
<p> <li><label for="checkbox2"><input id="checkbox2" name="checkbox" type="checkbox"> Choice B</label></li>
<label for="input__text2">Number Input</label> <li><label for="checkbox3"><input id="checkbox3" name="checkbox" type="checkbox"> Choice C</label></li>
<input id="input__text2" type="number" placeholder="Enter a Number"> </ul>
</p> </fieldset>
<p> <p><a href="#top">[Top]</a></p>
<label for="input__text3" class="error">Error</label> <fieldset id="forms__radio">
<input id="input__text3" class="is-error" type="text" placeholder="Text Input"> <legend>Radio buttons</legend>
</p> <ul class="list list--bare">
<p> <li><label for="radio1"><input id="radio1" name="radio" type="radio" class="radio" checked="checked"> Option 1</label></li>
<label for="input__text4" class="valid">Valid</label> <li><label for="radio2"><input id="radio2" name="radio" type="radio" class="radio"> Option 2</label></li>
<input id="input__text4" class="is-valid" type="text" placeholder="Text Input"> <li><label for="radio3"><input id="radio3" name="radio" type="radio" class="radio"> Option 3</label></li>
</p> </ul>
</fieldset> </fieldset>
<p><a href="#top">[Top]</a></p>
<p><a href="#top">[Top]</a></p> <fieldset id="forms__textareas">
<legend>Textareas</legend>
<fieldset id="forms__select"> <p>
<legend>Select menus</legend> <label for="textarea">Textarea</label>
<textarea id="textarea" rows="8" cols="48" placeholder="Enter your message here"></textarea>
<p> </p>
<label for="select">Select</label> </fieldset>
<select id="select"> <p><a href="#top">[Top]</a></p>
<optgroup label="Option Group"> <fieldset id="forms__html5">
<option>Option One</option> <legend>HTML5 inputs</legend>
<option>Option Two</option> <p>
<option>Option Three</option> <label for="ic">Color input</label>
</optgroup> <input type="color" id="ic" value="#000000">
</select> </p>
</p> <p>
</fieldset> <label for="in">Number input</label>
<input type="number" id="in" min="0" max="10" value="5">
<p><a href="#top">[Top]</a></p> </p>
<p>
<fieldset id="forms__checkbox"> <label for="ir">Range input</label>
<legend>Checkboxes</legend> <input type="range" id="ir" value="10">
</p>
<ul class="list list--bare"> <p>
<li><label for="checkbox1"><input id="checkbox1" name="checkbox" type="checkbox" checked="checked"> Choice A</label></li> <label for="idd">Date input</label>
<li><label for="checkbox2"><input id="checkbox2" name="checkbox" type="checkbox"> Choice B</label></li> <input type="date" id="idd" value="1970-01-01">
<li><label for="checkbox3"><input id="checkbox3" name="checkbox" type="checkbox"> Choice C</label></li> </p>
</ul> <p>
</fieldset> <label for="idm">Month input</label>
<input type="month" id="idm" value="1970-01">
<p><a href="#top">[Top]</a></p> </p>
<p>
<fieldset id="forms__radio"> <label for="idw">Week input</label>
<legend>Radio buttons</legend> <input type="week" id="idw" value="1970-W01">
</p>
<ul class="list list--bare"> <p>
<li><label for="radio1"><input id="radio1" name="radio" type="radio" class="radio" checked="checked"> Option 1</label></li> <label for="idt">Datetime input</label>
<li><label for="radio2"><input id="radio2" name="radio" type="radio" class="radio"> Option 2</label></li> <input type="datetime" id="idt" value="1970-01-01T00:00:00Z">
<li><label for="radio3"><input id="radio3" name="radio" type="radio" class="radio"> Option 3</label></li> </p>
</ul> <p>
</fieldset> <label for="idtl">Datetime-local input</label>
<input type="datetime-local" id="idtl" value="1970-01-01T00:00">
<p><a href="#top">[Top]</a></p> </p>
</fieldset>
<fieldset id="forms__textareas"> <p><a href="#top">[Top]</a></p>
<legend>Textareas</legend> <fieldset id="forms__action">
<legend>Action buttons</legend>
<p> <p>
<label for="textarea">Textarea</label> <input type="submit" value="Input">
<textarea id="textarea" rows="8" cols="48" placeholder="Enter your message here"></textarea> <button type="submit">Button</button>
</p> <input type="reset" value="Reset">
</fieldset> <input type="submit" value="Disabled" disabled>
</p>
<p><a href="#top">[Top]</a></p> </fieldset>
<p><a href="#top">[Top]</a></p>
<fieldset id="forms__html5"> </form>
<legend>HTML5 inputs</legend> </section>
</main>
<p> <footer role="contentinfo">
<label for="ic">Color input</label> <p>Made by <a href="http://twitter.com/cbracco">@cbracco</a>. Code on <a href="http://github.com/cbracco/html5-test-page">GitHub</a>.</p>
<input type="color" id="ic" value="#000000"> </footer>
</p>
<p>
<label for="in">Number input</label>
<input type="number" id="in" min="0" max="10" value="5">
</p>
<p>
<label for="ir">Range input</label>
<input type="range" id="ir" value="10">
</p>
<p>
<label for="idd">Date input</label>
<input type="date" id="idd" value="1970-01-01">
</p>
<p>
<label for="idm">Month input</label>
<input type="month" id="idm" value="1970-01">
</p>
<p>
<label for="idw">Week input</label>
<input type="week" id="idw" value="1970-W01">
</p>
<p>
<label for="idt">Datetime input</label>
<input type="datetime" id="idt" value="1970-01-01T00:00:00Z">
</p>
<p>
<label for="idtl">Datetime-local input</label>
<input type="datetime-local" id="idtl" value="1970-01-01T00:00">
</p>
</fieldset>
<p><a href="#top">[Top]</a></p>
<fieldset id="forms__action">
<legend>Action buttons</legend>
<p>
<input type="submit" value="Input">
<button type="submit">Button</button>
<input type="reset" value="Reset">
<input type="submit" value="Disabled" disabled>
</p>
</fieldset>
<p><a href="#top">[Top]</a></p>
</form>
</section>
</main>
<footer role="contentinfo">
<p>Made by <a href="http://twitter.com/cbracco">@cbracco</a>. Code on <a href="http://github.com/cbracco/html5-test-page">GitHub</a>.</p>
</footer>
</div> </div>
</body> </body>
</html> </html>

24
package.json Normal file
View File

@@ -0,0 +1,24 @@
{
"name": "html5-test-page",
"version": "0.6.0",
"description": "A page filled with common HTML elements to be used for testing purposes.",
"main": "index.html",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cbracco/html5-test-page.git"
},
"keywords": [
"HTML5",
"test",
"page"
],
"author": "Chris Bracco",
"license": "MIT",
"bugs": {
"url": "https://github.com/cbracco/html5-test-page/issues"
},
"homepage": "https://github.com/cbracco/html5-test-page#readme"
}