The figure element represents some flow content, optionally with a caption, which can be moved away from the main flow of the document without affecting the document’s meaning.
figure = (legend, (normal-character-data & common.elem.flow*)) | ((normal-character-data & common.elem.flow*), legend?) & figure.attrs
figure.attrs = common.attrs
A figure element must have both a start tag and an end tag.