Write the PHP expression to safely output a user-supplied string into an HTML page.
A profile page displays a user's bio directly, and needs to prevent any embedded script from executing.
Ready to try it?
Create a free account and subscribe to take "Write Output Encoding to Prevent XSS". Earn 90 XP and track your internship progress.
Already have an account? Sign in