728x90
SMALL
#HTML
#figure
#figcaption
figure, figcaption
- Figures are tags that wrap pictures, images, diagrams, etc.
- figcaption creates a caption for the figure element. A child element of the figure element, placed at the very beginning or the very end.
example
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>HTML Reference | figcaption</title>
</head>
<body>
<p>Aenean nec mollis nulla. Phasellus lacinia tempus mauris eu laoreet.</p>
<figure>
<figcaption>First Figure</figcaption>
<img src="images/img-02.png">
</figure>
<p>Aenean nec mollis nulla. Phasellus lacinia tempus mauris eu laoreet.</p>
<figure>
<img src="images/img-02.png">
<figcaption>Second Figure</figcaption>
</figure>
</body>
</html>
728x90
LIST
'HTML' 카테고리의 다른 글
[HTML] HTML/img/image tag to insert (0) | 2022.08.21 |
---|---|
[HTML] HTML / caption / tag to attach caption to table (table) (0) | 2022.08.20 |
[HTML] Create HTML/table, thead, tbody, tfoot, th, tr, td/table (0) | 2022.08.20 |
[HTML] HTML / a / Creating links (0) | 2022.08.19 |
[HTML] HTML / pre / tag to output as you type (0) | 2022.08.12 |