22 Commits

Author SHA1 Message Date
Chris Bracco
714dc01c78 v0.9.7 2021-04-19 11:48:23 -04:00
Chris Bracco
9d912a6d7d Merge pull request #40 from ConnorJamesLow/patch-1
Close option tags in datalist
2021-04-19 11:46:58 -04:00
Connor Low
8983ac1be5 Close option tags in datalist
While your browser might be smart enough to figure it out, `<option>` tags can have children and need to be closed. Some apps/servers will have trouble with it otherwise (for example, this caused vitejs to crash).
2021-04-17 21:06:17 -07:00
Chris Bracco
90c0472293 v0.9.6 2021-04-03 16:01:35 -04:00
Chris Bracco
1c2a244555 Remove classes and valid/invalid inputs 2021-04-03 16:00:59 -04:00
Chris Bracco
931b8637d5 Merge pull request #39 from cbracco/issue/13-picture-element
Add picture element
2021-04-03 15:54:44 -04:00
Chris Bracco
a0c969b93e v0.9.5 2021-04-03 15:54:12 -04:00
Chris Bracco
d882dfcb48 Add picture element; Revise other image examples 2021-04-03 15:53:12 -04:00
Chris Bracco
e191677997 Merge pull request #27 from TomasHubelbauer/patch-1
Remove duped word
2021-04-03 15:45:24 -04:00
Chris Bracco
328c708a5e v0.9.4 2021-04-03 15:44:00 -04:00
Chris Bracco
a557aa534e Merge pull request #23 from gipsi/master
Nu html checked
2021-04-03 15:42:26 -04:00
Chris Bracco
4e522a8e67 Merge branch 'master' into master 2021-04-03 15:42:06 -04:00
Chris Bracco
35cd96c06b Merge pull request #38 from cbracco/racztiborzoltan-patch-1
Add multiple <select> example
2021-04-03 15:34:48 -04:00
Chris Bracco
4b6224d52e v0.9.3 2021-04-03 15:34:01 -04:00
Chris Bracco
5218026335 Merge branch 'patch-1' of https://github.com/racztiborzoltan/html5-test-page into racztiborzoltan-patch-1
* 'patch-1' of https://github.com/racztiborzoltan/html5-test-page:
  add multiple select
2021-04-03 15:32:36 -04:00
Chris Bracco
e24e4b2b64 Merge pull request #37 from cbracco/charul97-1
Add nested lists
2021-04-03 15:31:04 -04:00
Chris Bracco
2e602b623d v0.9.2 2021-04-03 15:29:41 -04:00
Chris Bracco
9780f2af62 Add nested lists 2021-04-03 15:29:25 -04:00
Chris Bracco
a65554bba1 Merge pull request #36 from cbracco/97arushisharma-horizontal-list
Add background images example
2021-04-03 15:08:36 -04:00
Tomáš Hübelbauer
f3ee1b3575 Remove duped word 2020-04-05 08:46:46 +02:00
gipsi
b5cc38cc84 Nu html checked 2019-10-13 04:55:41 +01:00
Rácz Tibor Zoltán
a9fa7e0dfb add multiple select 2018-09-18 02:22:13 +02:00
4 changed files with 150 additions and 45 deletions

View File

@@ -1,3 +1,27 @@
# 0.9.7 (April 3, 2021)
- Self-close option tags (thanks @ConnorJamesLow!).
# 0.9.6 (April 3, 2021)
- Remove classes and valid/invalid inputs.
# 0.9.5 (April 3, 2021)
- Add <picture> element (thanks @AurelioDeRosa!).
# 0.9.4 (April 3, 2021)
- Remove unnecessary role attributes. Update headings (thanks @gipsi!).
# 0.9.3 (April 3, 2021)
- Add multiple <select> (thanks @racztiborzoltan!).
# 0.9.2 (April 3, 2021)
- Add nested lists (thanks @charul97!).
# 0.9.1 (April 3, 2021)
- Add background images (thanks @97arushisharma!).

View File

@@ -6,12 +6,12 @@
<title>HTML5 Test Page</title>
</head>
<body>
<div id="top" class="page" role="document">
<header role="banner">
<div id="top" role="document">
<header>
<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>
</header>
<nav role="navigation">
<nav>
<ul>
<li>
<a href="#text">Text</a>
@@ -32,7 +32,6 @@
<li>
<a href="#embedded">Embedded content</a>
<ul>
<li><a href="#embedded__images">Images</a></li>
<li><a href="#embedded__bgimages">Background images</a></li>
<li><a href="#embedded__audio">Audio</a></li>
@@ -60,12 +59,12 @@
</li>
</ul>
</nav>
<main role="main">
<main>
<section id="text">
<header><h1>Text</h1></header>
<article id="text__headings">
<header>
<h1>Headings</h1>
<h2>Headings</h2>
</header>
<div>
<h1>Heading 1</h1>
@@ -78,14 +77,25 @@
<footer><p><a href="#top">[Top]</a></p></footer>
</article>
<article id="text__paragraphs">
<header><h1>Paragraphs</h1></header>
<header><h2>Paragraphs</h2></header>
<div>
<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>
<footer><p><a href="#top">[Top]</a></p></footer>
</article>
<article id="text__blockquotes">
<header><h2>Blockquotes</h2></header>
<div>
<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>
<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>
<cite><a href="#!">Said no one, ever.</a></cite>
</blockquote>
</div>
<footer><p><a href="#top">[Top]</a></p></footer>
</article>
<article id="text__lists">
<header><h1>Lists</h1></header>
<header><h2>Lists</h2></header>
<div>
<h3>Definition list</h3>
<dl>
@@ -93,15 +103,71 @@
<dd>This is a definition list division.</dd>
</dl>
<h3>Ordered List</h3>
<ol>
<ol type="1">
<li>List Item 1</li>
<li>List Item 2</li>
<li>
List Item 2
<ol type="A">
<li>List Item 1</li>
<li>
List Item 2
<ol type="a">
<li>List Item 1</li>
<li>
List Item 2
<ol type="I">
<li>List Item 1</li>
<li>
List Item 2
<ol type="i">
<li>List Item 1</li>
<li>List Item 2</li>
<li>List Item 3</li>
</ol>
</li>
<li>List Item 3</li>
</ol>
</li>
<li>List Item 3</li>
</ol>
</li>
<li>List Item 3</li>
</ol>
</li>
<li>List Item 3</li>
</ol>
<h3>Unordered List</h3>
<ul>
<li>List Item 1</li>
<li>List Item 2</li>
<li>
List Item 2
<ul>
<li>List Item 1</li>
<li>
List Item 2
<ul>
<li>List Item 1</li>
<li>
List Item 2
<ul>
<li>List Item 1</li>
<li>
List Item 2
<ul>
<li>List Item 1</li>
<li>List Item 2</li>
<li>List Item 3</li>
</ul>
</li>
<li>List Item 3</li>
</ul>
</li>
<li>List Item 3</li>
</ul>
</li>
<li>List Item 3</li>
</ul>
</li>
<li>List Item 3</li>
</ul>
</div>
@@ -138,14 +204,14 @@
<footer><p><a href="#top">[Top]</a></p></footer>
</article>
<article id="text__hr">
<header><h1>Horizontal rules</h1></header>
<header><h2>Horizontal rules</h2></header>
<div>
<hr>
</div>
<footer><p><a href="#top">[Top]</a></p></footer>
</article>
<article id="text__tables">
<header><h1>Tabular data</h1></header>
<header><h2>Tabular data</h2></header>
<table>
<caption>Table Caption</caption>
<thead>
@@ -200,7 +266,7 @@
<footer><p><a href="#top">[Top]</a></p></footer>
</article>
<article id="text__code">
<header><h1>Code</h1></header>
<header><h2>Code</h2></header>
<div>
<p><strong>Keyboard input:</strong> <kbd>Cmd</kbd></p>
<p><strong>Inline code:</strong> <code>&lt;div&gt;code&lt;/div&gt;</code></p>
@@ -217,7 +283,7 @@
<footer><p><a href="#top">[Top]</a></p></footer>
</article>
<article id="text__inline">
<header><h1>Inline elements</h1></header>
<header><h2>Inline elements</h2></header>
<div>
<p><a href="#!">This is a text link</a>.</p>
<p><strong>Strong is used to indicate strong importance.</strong></p>
@@ -229,7 +295,7 @@
<p><s>This text has a strikethrough</s>.</p>
<p>Superscript<sup>®</sup>.</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><small>This small text is small for fine print, etc.</small></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><cite>This is a citation.</cite></p>
@@ -241,7 +307,7 @@
<footer><p><a href="#top">[Top]</a></p></footer>
</article>
<article id="text__comments">
<header><h1>HTML Comments</h1></header>
<header><h2>HTML Comments</h2></header>
<div>
<p>There is comment here: <!--This comment should not be displayed--></p>
<p>There is a comment spanning multiple tags and lines below here.</p>
@@ -253,19 +319,27 @@
</article>
</section>
<section id="embedded">
<header><h1>Embedded content</h1></header>
<header><h2>Embedded content</h2></header>
<article id="embedded__images">
<header><h2>Images</h2></header>
<div>
<h3>No <code>&lt;figure&gt;</code> element</h3>
<p><img src="https://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>
<figure><img src="https://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>
<h3>Plain <code>&lt;img&gt;</code> element</h3>
<p><img src="https://placekitten.com/480/480" alt="Photo of a kitten"></p>
<h3><code>&lt;figure&gt;</code> element with <code>&lt;img&gt;</code> element</h3>
<figure><img src="https://placekitten.com/420/420" alt="Photo of a kitten"></figure>
<h3><code>&lt;figure&gt;</code> element with <code>&lt;img&gt;</code> and <code>&lt;figcaption&gt;</code> elements</h3>
<figure>
<img src="https://placekitten.com/420/420" alt="Image alt text">
<img src="https://placekitten.com/420/420" alt="Photo of a kitten">
<figcaption>Here is a caption for this image.</figcaption>
</figure>
<h3><code>&lt;figure&gt;</code> element with a <code>&lt;picture&gt;</code> element</h3>
<figure>
<picture>
<source srcset="https://placekitten.com/800/800"
media="(min-width: 800px)">
<img src="https://placekitten.com/420/420" alt="Photo of a kitten" />
</picture>
</figure>
</div>
<footer><p><a href="#top">[Top]</a></p></footer>
</article>
@@ -321,7 +395,7 @@
</article>
</section>
<section id="forms">
<header><h1>Form elements</h1></header>
<header><h2>Form elements</h2></header>
<form>
<fieldset id="forms__input">
<legend>Input fields</legend>
@@ -354,15 +428,7 @@
<input id="input__text2" type="number" placeholder="Enter a Number">
</p>
<p>
<label for="input__text3" class="error">Error</label>
<input id="input__text3" class="is-error" type="text" placeholder="Text Input">
</p>
<p>
<label for="input__text4" class="valid">Valid</label>
<input id="input__text4" class="is-valid" type="text" placeholder="Text Input">
</p>
<p>
<label for="input__file" class="button">File Input</label>
<label for="input__file">File Input</label>
<input id="input__file" type="file">
</p>
</fieldset>
@@ -379,11 +445,21 @@
</optgroup>
</select>
</p>
<p>
<label for="select_multiple">Select (multiple)</label>
<select id="select_multiple" multiple="multiple">
<optgroup label="Option Group">
<option>Option One</option>
<option>Option Two</option>
<option>Option Three</option>
</optgroup>
</select>
</p>
</fieldset>
<p><a href="#top">[Top]</a></p>
<fieldset id="forms__checkbox">
<legend>Checkboxes</legend>
<ul class="list list--bare">
<ul>
<li><label for="checkbox1"><input id="checkbox1" name="checkbox" type="checkbox" checked="checked"> Choice A</label></li>
<li><label for="checkbox2"><input id="checkbox2" name="checkbox" type="checkbox"> Choice B</label></li>
<li><label for="checkbox3"><input id="checkbox3" name="checkbox" type="checkbox"> Choice C</label></li>
@@ -392,10 +468,10 @@
<p><a href="#top">[Top]</a></p>
<fieldset id="forms__radio">
<legend>Radio buttons</legend>
<ul class="list list--bare">
<li><label for="radio1"><input id="radio1" name="radio" type="radio" class="radio" checked="checked"> Option 1</label></li>
<li><label for="radio2"><input id="radio2" name="radio" type="radio" class="radio"> Option 2</label></li>
<li><label for="radio3"><input id="radio3" name="radio" type="radio" class="radio"> Option 3</label></li>
<ul>
<li><label for="radio1"><input id="radio1" name="radio" type="radio" checked="checked"> Option 1</label></li>
<li><label for="radio2"><input id="radio2" name="radio" type="radio"> Option 2</label></li>
<li><label for="radio3"><input id="radio3" name="radio" type="radio"> Option 3</label></li>
</ul>
</fieldset>
<p><a href="#top">[Top]</a></p>
@@ -445,9 +521,9 @@
<label for="idl">Datalist</label>
<input type="text" id="idl" list="example-list">
<datalist id="example-list">
<option value="Example #1">
<option value="Example #2">
<option value="Example #3">
<option value="Example #1" />
<option value="Example #2" />
<option value="Example #3" />
</datalist>
</p>
</fieldset>
@@ -471,8 +547,8 @@
</form>
</section>
</main>
<footer role="contentinfo">
<p>Made by <a href="https://twitter.com/cbracco">@cbracco</a>. Code on <a href="https://github.com/cbracco/html5-test-page">GitHub</a>.</p>
<footer>
<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>
</body>

5
package-lock.json generated Normal file
View File

@@ -0,0 +1,5 @@
{
"name": "html5-test-page",
"version": "0.8.0",
"lockfileVersion": 1
}

View File

@@ -1,6 +1,6 @@
{
"name": "html5-test-page",
"version": "0.9.1",
"version": "0.9.7",
"description": "A page filled with common HTML elements to be used for testing purposes.",
"main": "index.html",
"scripts": {