To HTML Content Category Phrasing

Html elements code and dfn

code element Specifies that the enclosed text is programming code and should be formatted appropriately and dfn element Specifies that the enclosed text defines a term. These elements allows child elements from interactive, embedded, heading, sectioning, phrasing, and metadata content categories.

Restore previous example

code code and dfn

Advanced example

Click the html element name in the punctuation list to advance the example in 'Tryit-Editor':
<a><audio>, <button>, <details>, <embed>, <iframe>, <input>, <keygen>, <label>, <menu>, <object>, <select>, <textarea>, <video>, <canvas>, <img>, <math>, <svg>, <h1>, <h2>, <h3>, <h4>, <h5>, <h6>, <hgroup>, <article>, <aside>, <nav>, <section>, <abbr>, <b>, <bdo>, <br>, <cite>, <code>, <command>, <dataList>, <dfn>, <em>, <i>, <kbd>, <mark>, <meter>, <noscript>, <output>, <progress>, <q>, <ruby>, <samp>, <script>, <small>, <span>, <strong>, <sub>, <sup>, <time>, <var>, <wbr>, <base>, <link>, <meta>, <style>, <title>

HTML element example

Result from the Online TryIt-Editor
chrome 1.0safari 1.0Firefox 1.0ie 2.0opera 5.0