1.

Which of the following is not encode by encodeURI() function?(a) >(b) [(c) \(d) :The question was posed to me during an interview for a job.I'm obligated to ask this question of URL Encoding topic in portion HTML Images & Web Page Files of HTML

Answer»

The CORRECT OPTION is (d) :

The best I can explain: ENCODEURI() function is JavaScript function. It ENCODES special characters. The characters that can’t be encoded are ‘,’, ‘?’, ‘/’, ‘@’, ‘=’, ‘&’, ‘$’, ‘+’, ‘#’, ‘:’. Its syntax is encodeURI(URI), uri is the URI that to be encoded.



Discussion

No Comment Found

Related InterviewSolutions