The xmp (example) tag displays pre-formatted text exactly as written, preserving whitespace and line breaks. Unlike 'pre', xmp also escapes HTML tags within it so they display as text rather than rendering. Both are deprecated in favor of 'pre' or 'code' tags with proper entity encoding.