🎴 Flashcard Mode
Web Technologies Fundamentals
Card1 / 19
Mastered0
Review0
QuestionClick to flip
What do you need if you want to control user's action on client side? eg: Disable right click on browser
AnswerClick to flip back
A
Scripting Language
💡 Explanation:
Client-side scripting languages like JavaScript allow you to intercept and control browser events such as mouse clicks, keyboard input, and page interactions. For example, JavaScript can prevent the default right-click context menu by using event.preventDefault() on contextmenu events. CSS only controls presentation, while XSLT transforms XML documents - neither can handle user actions.