To HTML Content Category Flow

Html elements samp and script

samp element Specifies that the enclosed text is sample text and should be rendered in the browser appropriately and script element Specifies that the enclosed content is a client-side script. These elements allows child elements from interactive, embedded, heading, sectioning, phrasing, and metadata content categories.

Restore previous example

samp samp and script

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 3.0opera 5.0