Edit in JSFiddle

<html>
    <head><title>figure tag in html5</title></head>
    <body>
        <b>addClass() syntax :</b>
        <figure>
            <code>
            <pre>
                $(selector).addClass("classname");
            </pre>
            </code>
        </figure>
    </body>
</html>