Siden er opdateret 21. 3. 2009
<code> anvendes til at markere noget kode, f.eks. i html
<p>Koden for visning af et billede er <code><img src="img.gif" width="80" height="25" alt?"" /></code></p>
Vil på siden se sådan ud:
Koden for visning af et billede starter sådan: <img src="img.gif" width="80" height="25" alt?"" />
<code> kan indeholdes i a, abbr, acronym, address, b, big, blockquote, caption, center, cite, dd, del, dfn, div, dt, em, font, h1, h2, h3, h4, h5, h6, i, ins, kbd, label, legend, li, p, pre, q, s, samp, small, span, strike, strong, sub, sup, tt, u og var
<code> kan indeholde a, abbr, acronym, address, b, big, br, cite, del, dfn, em, font, i, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u og var
Attributter - ingen attributter er krævede, brug i stedet css til at style <code>.