In the fragment that you want displayed "as-is" rather than interpreted as part of the page definition, you need to translate special symbols used by HTML into "entities". These are the &; delimited named characters like < for <, > for >, etc.
If you use your browser to view the HTML source...