Curriculum
Course: HTML Basic
Login

Curriculum

HTML Basic

HTML Introduction

0/1

HTML Editors

0/1

HTML Attributes

0/1

HTML Paragraphs

0/1

HTML Formatting

0/1

HTML Comments

0/1

HTML Favicon

0/1

HTML Page Title

0/1

HTML Iframes

0/1

HTML Java Script

0/1

HTML File Paths

0/1

HTML Symbols

0/1
Text lesson

HTML <figure> and <figcaption> Elements

The <figure> tag denotes content that is self-contained, such as illustrations, diagrams, photos, or code listings.

The <figcaption> tag specifies a caption for a <figure> element, and it can be positioned as the first or last child within a <figure>.

The <img> element specifies the actual image or illustration.

Example

<figure>
  <img src=”pic_trulli.jpg” alt=”Trulli”>
  <figcaption>Fig1. – Trulli, Puglia, Italy.</figcaption>
</figure>