mirror of https://github.com/sveltejs/svelte
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
346 B
19 lines
346 B
7 years ago
|
<figure>
|
||
|
<img src='foo.jpg' alt='a picture of a foo'>
|
||
|
|
||
|
<figcaption>
|
||
|
a foo in its natural habitat
|
||
|
</figcaption>
|
||
|
|
||
|
<p>this should not be here</p>
|
||
|
</figure>
|
||
|
|
||
|
<figure>
|
||
|
<img src='foo.jpg' alt='a picture of a foo'>
|
||
|
|
||
|
<div class='markup-for-styling'>
|
||
|
<figcaption>
|
||
|
this element should be a child of the figure
|
||
|
</figcaption>
|
||
|
</div>
|
||
|
</figure>
|