nerdexam
National_Instruments

200-500 · Question #79

Which of the following functions are used to escape data within the context of HTML? (Choose 2)

The correct answer is A. htmlentities() E. htmlspecialchars(). See the full explanation below for the reasoning.

Question

Which of the following functions are used to escape data within the context of HTML? (Choose 2)

Options

  • Ahtmlentities()
  • Baddslashes()
  • Cstripslashes()
  • Dstrip_tags()
  • Ehtmlspecialchars()

How the community answered

(32 responses)
  • A
    78% (25)
  • B
    3% (1)
  • C
    6% (2)
  • D
    13% (4)

Community Discussion

No community discussion yet for this question.

Full 200-500 Practice