Multiple choice technology programming languages

The tag is:

  1. Always converts HTML markup to entity equivalents, like <

  2. Never converts HTML markup to entity equivalents

  3. Converts markup when filter=true

  4. Converts markup when markup=false

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The tag has a 'filter' attribute that controls HTML escaping. When filter='true' (or filter is not specified, as true is default), the tag converts HTML markup characters like <, >, &, ' to their entity equivalents (<, >, &, ') to prevent XSS attacks. When filter='false', it outputs content as-is without conversion.