WordPress.org

Ready to get started?Download WordPress

Forums

Inserting images with figure and figcaption (2 posts)

  1. rubai
    Member
    Posted 1 year ago #

    How do I out my images with the new HTML5 figure and figcation elements?
    so I get the output like so:

    <figure>
    	<img src="" alt="">
    	<figcaption></figcaption>
    </figure>

    Thanks in advance!!

  2. Jose Castaneda
    Member
    Posted 1 year ago #

    My main question is to why you would want to use it?

    The figure element represents a unit of content, optionally with a caption, that is self-contained, that is typically referenced as a single unit from the main flow of the document, and that can be moved away from the main flow of the document without affecting the document’s meaning.

    W3C Specification
    One way I can think of doing that would be using the HTML edit screen.

Topic Closed

This topic has been closed to new replies.

About this Topic