Output context · Question 5 of 12

Why is HTML escaping not sufficient for every output context?

1 answer is correct. Easy

Show answer

Answer

  • B Other rules apply in JavaScript or URLs

Explanation

A value in a script block or a URL needs a different encoding than a value in running text. The encoding must match the place where the value ends up.

Certifications & exams

Which exam comes next?

You can already practise for 19 exams, and 21 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications