mirror of
https://github.com/cbracco/html5-test-page.git
synced 2025-08-21 05:11:45 +02:00
Compare commits
14 Commits
charul97-1
...
0.9.5
Author | SHA1 | Date | |
---|---|---|---|
|
931b8637d5 | ||
|
a0c969b93e | ||
|
d882dfcb48 | ||
|
e191677997 | ||
|
328c708a5e | ||
|
a557aa534e | ||
|
4e522a8e67 | ||
|
35cd96c06b | ||
|
4b6224d52e | ||
|
5218026335 | ||
|
e24e4b2b64 | ||
|
f3ee1b3575 | ||
|
b5cc38cc84 | ||
|
a9fa7e0dfb |
12
CHANGELOG.md
12
CHANGELOG.md
@@ -1,3 +1,15 @@
|
|||||||
|
# 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)
|
# 0.9.2 (April 3, 2021)
|
||||||
|
|
||||||
- Add nested lists (thanks @charul97!).
|
- Add nested lists (thanks @charul97!).
|
||||||
|
74
index.html
74
index.html
@@ -7,11 +7,11 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="top" class="page" role="document">
|
<div id="top" class="page" role="document">
|
||||||
<header role="banner">
|
<header>
|
||||||
<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>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<a href="#text">Text</a>
|
<a href="#text">Text</a>
|
||||||
@@ -32,7 +32,6 @@
|
|||||||
<li>
|
<li>
|
||||||
<a href="#embedded">Embedded content</a>
|
<a href="#embedded">Embedded content</a>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li><a href="#embedded__images">Images</a></li>
|
<li><a href="#embedded__images">Images</a></li>
|
||||||
<li><a href="#embedded__bgimages">Background images</a></li>
|
<li><a href="#embedded__bgimages">Background images</a></li>
|
||||||
<li><a href="#embedded__audio">Audio</a></li>
|
<li><a href="#embedded__audio">Audio</a></li>
|
||||||
@@ -60,12 +59,12 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
<main role="main">
|
<main>
|
||||||
<section id="text">
|
<section id="text">
|
||||||
<header><h1>Text</h1></header>
|
<header><h1>Text</h1></header>
|
||||||
<article id="text__headings">
|
<article id="text__headings">
|
||||||
<header>
|
<header>
|
||||||
<h1>Headings</h1>
|
<h2>Headings</h2>
|
||||||
</header>
|
</header>
|
||||||
<div>
|
<div>
|
||||||
<h1>Heading 1</h1>
|
<h1>Heading 1</h1>
|
||||||
@@ -78,14 +77,25 @@
|
|||||||
<footer><p><a href="#top">[Top]</a></p></footer>
|
<footer><p><a href="#top">[Top]</a></p></footer>
|
||||||
</article>
|
</article>
|
||||||
<article id="text__paragraphs">
|
<article id="text__paragraphs">
|
||||||
<header><h1>Paragraphs</h1></header>
|
<header><h2>Paragraphs</h2></header>
|
||||||
<div>
|
<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>
|
<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>
|
<footer><p><a href="#top">[Top]</a></p></footer>
|
||||||
</article>
|
</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">
|
<article id="text__lists">
|
||||||
<header><h1>Lists</h1></header>
|
<header><h2>Lists</h2></header>
|
||||||
<div>
|
<div>
|
||||||
<h3>Definition list</h3>
|
<h3>Definition list</h3>
|
||||||
<dl>
|
<dl>
|
||||||
@@ -194,14 +204,14 @@
|
|||||||
<footer><p><a href="#top">[Top]</a></p></footer>
|
<footer><p><a href="#top">[Top]</a></p></footer>
|
||||||
</article>
|
</article>
|
||||||
<article id="text__hr">
|
<article id="text__hr">
|
||||||
<header><h1>Horizontal rules</h1></header>
|
<header><h2>Horizontal rules</h2></header>
|
||||||
<div>
|
<div>
|
||||||
<hr>
|
<hr>
|
||||||
</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__tables">
|
<article id="text__tables">
|
||||||
<header><h1>Tabular data</h1></header>
|
<header><h2>Tabular data</h2></header>
|
||||||
<table>
|
<table>
|
||||||
<caption>Table Caption</caption>
|
<caption>Table Caption</caption>
|
||||||
<thead>
|
<thead>
|
||||||
@@ -256,7 +266,7 @@
|
|||||||
<footer><p><a href="#top">[Top]</a></p></footer>
|
<footer><p><a href="#top">[Top]</a></p></footer>
|
||||||
</article>
|
</article>
|
||||||
<article id="text__code">
|
<article id="text__code">
|
||||||
<header><h1>Code</h1></header>
|
<header><h2>Code</h2></header>
|
||||||
<div>
|
<div>
|
||||||
<p><strong>Keyboard input:</strong> <kbd>Cmd</kbd></p>
|
<p><strong>Keyboard input:</strong> <kbd>Cmd</kbd></p>
|
||||||
<p><strong>Inline code:</strong> <code><div>code</div></code></p>
|
<p><strong>Inline code:</strong> <code><div>code</div></code></p>
|
||||||
@@ -273,7 +283,7 @@
|
|||||||
<footer><p><a href="#top">[Top]</a></p></footer>
|
<footer><p><a href="#top">[Top]</a></p></footer>
|
||||||
</article>
|
</article>
|
||||||
<article id="text__inline">
|
<article id="text__inline">
|
||||||
<header><h1>Inline elements</h1></header>
|
<header><h2>Inline elements</h2></header>
|
||||||
<div>
|
<div>
|
||||||
<p><a href="#!">This is a text link</a>.</p>
|
<p><a href="#!">This is a text link</a>.</p>
|
||||||
<p><strong>Strong is used to indicate strong importance.</strong></p>
|
<p><strong>Strong is used to indicate strong importance.</strong></p>
|
||||||
@@ -285,7 +295,7 @@
|
|||||||
<p><s>This text has a strikethrough</s>.</p>
|
<p><s>This text has a strikethrough</s>.</p>
|
||||||
<p>Superscript<sup>®</sup>.</p>
|
<p>Superscript<sup>®</sup>.</p>
|
||||||
<p>Subscript for things like H<sub>2</sub>O.</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>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><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>
|
<p><cite>This is a citation.</cite></p>
|
||||||
@@ -297,7 +307,7 @@
|
|||||||
<footer><p><a href="#top">[Top]</a></p></footer>
|
<footer><p><a href="#top">[Top]</a></p></footer>
|
||||||
</article>
|
</article>
|
||||||
<article id="text__comments">
|
<article id="text__comments">
|
||||||
<header><h1>HTML Comments</h1></header>
|
<header><h2>HTML Comments</h2></header>
|
||||||
<div>
|
<div>
|
||||||
<p>There is comment here: <!--This comment should not be displayed--></p>
|
<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>
|
<p>There is a comment spanning multiple tags and lines below here.</p>
|
||||||
@@ -309,19 +319,27 @@
|
|||||||
</article>
|
</article>
|
||||||
</section>
|
</section>
|
||||||
<section id="embedded">
|
<section id="embedded">
|
||||||
<header><h1>Embedded content</h1></header>
|
<header><h2>Embedded content</h2></header>
|
||||||
<article id="embedded__images">
|
<article id="embedded__images">
|
||||||
<header><h2>Images</h2></header>
|
<header><h2>Images</h2></header>
|
||||||
<div>
|
<div>
|
||||||
<h3>No <code><figure></code> element</h3>
|
<h3>Plain <code><img></code> element</h3>
|
||||||
<p><img src="https://placekitten.com/480/480" alt="Image alt text"></p>
|
<p><img src="https://placekitten.com/480/480" alt="Photo of a kitten"></p>
|
||||||
<h3>Wrapped in a <code><figure></code> element, no <code><figcaption></code></h3>
|
<h3><code><figure></code> element with <code><img></code> element</h3>
|
||||||
<figure><img src="https://placekitten.com/420/420" alt="Image alt text"></figure>
|
<figure><img src="https://placekitten.com/420/420" alt="Photo of a kitten"></figure>
|
||||||
<h3>Wrapped in a <code><figure></code> element, with a <code><figcaption></code></h3>
|
<h3><code><figure></code> element with <code><img></code> and <code><figcaption></code> elements</h3>
|
||||||
<figure>
|
<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>
|
<figcaption>Here is a caption for this image.</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
|
<h3><code><figure></code> element with a <code><picture></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>
|
</div>
|
||||||
<footer><p><a href="#top">[Top]</a></p></footer>
|
<footer><p><a href="#top">[Top]</a></p></footer>
|
||||||
</article>
|
</article>
|
||||||
@@ -377,7 +395,7 @@
|
|||||||
</article>
|
</article>
|
||||||
</section>
|
</section>
|
||||||
<section id="forms">
|
<section id="forms">
|
||||||
<header><h1>Form elements</h1></header>
|
<header><h2>Form elements</h2></header>
|
||||||
<form>
|
<form>
|
||||||
<fieldset id="forms__input">
|
<fieldset id="forms__input">
|
||||||
<legend>Input fields</legend>
|
<legend>Input fields</legend>
|
||||||
@@ -435,6 +453,16 @@
|
|||||||
</optgroup>
|
</optgroup>
|
||||||
</select>
|
</select>
|
||||||
</p>
|
</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>
|
</fieldset>
|
||||||
<p><a href="#top">[Top]</a></p>
|
<p><a href="#top">[Top]</a></p>
|
||||||
<fieldset id="forms__checkbox">
|
<fieldset id="forms__checkbox">
|
||||||
@@ -527,8 +555,8 @@
|
|||||||
</form>
|
</form>
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
<footer role="contentinfo">
|
<footer>
|
||||||
<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>
|
<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>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
5
package-lock.json
generated
Normal file
5
package-lock.json
generated
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"name": "html5-test-page",
|
||||||
|
"version": "0.8.0",
|
||||||
|
"lockfileVersion": 1
|
||||||
|
}
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "html5-test-page",
|
"name": "html5-test-page",
|
||||||
"version": "0.9.2",
|
"version": "0.9.5",
|
||||||
"description": "A page filled with common HTML elements to be used for testing purposes.",
|
"description": "A page filled with common HTML elements to be used for testing purposes.",
|
||||||
"main": "index.html",
|
"main": "index.html",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Reference in New Issue
Block a user