Codex tools: Log in
Escaping for HTML blocks.
<?php esc_html( $text ) ?>
esc_html() is located in wp-includes/formatting.php.
wp-includes/formatting.php
See the Data Validation article for an in-depth discussion of input and output sanitization.