@@ -506,7 +506,7 @@ Note: No change from [[css3-images]].
506506
507507 <div class='example'>
508508
509- As a somewhat silly example, a <code> <p> </code > element can be reused as a background elsewhere in the document:
509+ As a somewhat silly example, a <{p} > element can be reused as a background elsewhere in the document:
510510
511511 <pre class="lang-html">
512512 <style>
@@ -546,7 +546,7 @@ Note: No change from [[css3-images]].
546546 </pre>
547547
548548 HTML also defines that a handful of elements,
549- such as <code> < canvas> </code> , <code> < img> </code> , and <code> < video> </code > ,
549+ such as <{ canvas}> , <{ img}> , and <{ video} > ,
550550 provide a paint source.
551551 This means that CSS can, for example,
552552 reference a canvas that's being drawn into,
@@ -660,8 +660,7 @@ Paint Sources</h4>
660660 without having to do layout or rendering,
661661 and so may be used as images even when they're <a lt='element-not-rendered'>not rendered</a> .
662662
663- In HTML, the <code> <img></code> , <code> <video></code> , and <code> <canvas></code> elements provide paint sources
664- (defined in each element's section in <a href='http://www.whatwg.org/specs/web-apps/current-work/multipage/'>HTML5</a> ).
663+ In HTML, the <{img}> , <{video}> , and <{canvas}> elements provide paint sources.
665664
666665 In SVG, any element that provides a <a href='https://www.w3.org/TR/SVG/pservers.html'>paint server</a> provides a paint source.
667666 <span class='note'> Note: In SVG1.1,
@@ -694,7 +693,7 @@ Using Out-Of-Document Sources: the <code>ElementSources</code> interface</h4>
694693
695694 The ''element()'' function normally selects elements within a document,
696695 but elements that provide a <a>paint source</a> don't necessarily need to be in-document.
697- For example, an HTML <code> < canvas> </code > element can be created, maintained, and drawn into entirely in script,
696+ For example, an HTML <{ canvas} > element can be created, maintained, and drawn into entirely in script,
698697 with no need for it to be inserted into the document directly.
699698
700699 All that's needed is a way to refer to the element,
0 commit comments