Question 11
Which HTML5 tag is used to draw graphics on the fly via scripting (usually JavaScript)?
The <canvas> element is an HTML5 container used to draw graphics programmatically via JavaScript.
Which HTML5 tag is used to draw graphics on the fly via scripting (usually JavaScript)?
The <canvas> element is an HTML5 container used to draw graphics programmatically via JavaScript.
How do you write 'Hello World' in an alert box in JavaScript?
In JavaScript, the window.alert() method displays an alert box with a specified message and an OK button.
Which superglobal array in PHP holds form data sent via HTTP POST method?
$_POST is a PHP superglobal array variable used to collect form data sent via HTTP POST.
Which HTML attribute specifies an alternate text for an image if the image cannot be displayed?
The alt attribute provides alternative text for an image if the image fails to load or for screen readers.
Which character is used to indicate an end tag in HTML?
An end/closing tag in HTML starts with a forward slash (e.g.,
).