Clean up BG image PR

This commit is contained in:
Chris Bracco
2021-04-03 15:04:31 -04:00
parent 5cdb76d0fb
commit 9c92199a7e

View File

@@ -34,7 +34,7 @@
<ul> <ul>
<li><a href="#embedded__images">Images</a></li> <li><a href="#embedded__images">Images</a></li>
<li><a href="#embedded__bimages">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>
<li><a href="#embedded__video">Video</a></li> <li><a href="#embedded__video">Video</a></li>
<li><a href="#embedded__canvas">Canvas</a></li> <li><a href="#embedded__canvas">Canvas</a></li>
@@ -258,23 +258,20 @@
<header><h2>Images</h2></header> <header><h2>Images</h2></header>
<div> <div>
<h3>No <code>&lt;figure&gt;</code> element</h3> <h3>No <code>&lt;figure&gt;</code> element</h3>
<p><img src="http://placekitten.com/480/480" alt="Image alt text"></p> <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> <h3>Wrapped in a <code>&lt;figure&gt;</code> element, no <code>&lt;figcaption&gt;</code></h3>
<figure><img src="http://placekitten.com/420/420" alt="Image alt text"></figure> <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>Wrapped in a <code>&lt;figure&gt;</code> element, with a <code>&lt;figcaption&gt;</code></h3>
<figure> <figure>
<img src="http://placekitten.com/420/420" alt="Image alt text"> <img src="https://placekitten.com/420/420" alt="Image alt text">
<figcaption>Here is a caption for this image.</figcaption> <figcaption>Here is a caption for this image.</figcaption>
</figure> </figure>
</div> </div>
<footer><p><a href="#top">[Top] <footer><p><a href="#top">[Top]</a></p></footer>
</article>
<article id="embedded__bimages"> <article id="embedded__bgimages">
<header><h2>Background Images</h2></header> <header><h2>Background images</h2></header>
<div style="background-image:url('http://placekitten.com/420/420'); width:35%; height:50%;"> <div style="background-image:url('https://placekitten.com/300/300'); width:300px; height: 300px;"></div>
</div>
<footer><p><a href="#top">[Top]</a></p></footer> <footer><p><a href="#top">[Top]</a></p></footer>
</article> </article>
<article id="embedded__audio"> <article id="embedded__audio">
@@ -338,7 +335,7 @@
</p> </p>
<p> <p>
<label for="input__webaddress">Web Address</label> <label for="input__webaddress">Web Address</label>
<input id="input__webaddress" type="url" placeholder="http://yoursite.com"> <input id="input__webaddress" type="url" placeholder="https://yoursite.com">
</p> </p>
<p> <p>
<label for="input__emailaddress">Email Address</label> <label for="input__emailaddress">Email Address</label>
@@ -475,7 +472,7 @@
</section> </section>
</main> </main>
<footer role="contentinfo"> <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> <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> </footer>
</div> </div>
</body> </body>