PrepAway - Latest Free Exam Questions & Answers

Which line of code should you use?

You are creating a blog site by using HTML5 and JavaScript. An inline frame enables users to post
comments. It is possible for users to inject malicious scripts into their comments.
You need to minimize the ability for malicious scripts to execute on the site.
Which line of code should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
<iframe sandbox src=”frame1.htmlnX/iframe>

B.
<iframe seamless=”allowscripts” src=”frame1.html”<>/iframe>

C.
<iframe seamless src=”frame1.html”></iframe>

D.
<iframe sandbox=”allowscripts” src”frame1.html”x/iframe>

3 Comments on “Which line of code should you use?


Leave a Reply