code Tag for Code
It is used to display programming source code on a web page. Text placed between its opening and closing tags is shown in monospaced font but for some characters like the angle brackets character entity or escape character is used so < for the left-angle bracket (<), and > for the right-angle bracket (>). It is used with <pre> tag to retain formatting as shown
HTML code <p><code> <h1>This is h1 heading</h1></code></p> |
Browser output |
Apply for HTML5 Certification Now!!
http://www.vskills.in/certification/Certified-HTML5-Developer