Multiple ChoiceIntermediate 30s
innerHTML risk
Choose the best answer for: innerhtml risk
Options
- 1Escapes markup so scripts cannot run
- 2Replaces the target text as content
- 3Can execute scripts (XSS) if unsanitized
- 4Assigns always-safe HTML by default
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.