Question 96
Which HTML attribute specifies that an input field cannot be modified by the user?
The readonly attribute specifies that an input field is read-only (user cannot change it, but value is submitted with form).
Which HTML attribute specifies that an input field cannot be modified by the user?
The readonly attribute specifies that an input field is read-only (user cannot change it, but value is submitted with form).
Which CSS property is used to add shadows to text elements?
The text-shadow CSS property adds shadows to text characters.
Which JavaScript method removes the last element from an array and returns that element?
pop() removes the last element from an array and returns that value to the caller.
In PHP, which PDO method is used to prepare an SQL statement for execution?
PDO::prepare() prepares an SQL statement to be executed by the PDOStatement::execute() method to prevent SQL injection.
Which HTML tag is used to wrap preformatted text preserving spaces and line breaks?
The
element defines preformatted text, preserving both spaces and line breaks exactly as written.