Test sulle conoscenze relative alla Terra nel Sistema Solare
Studia con la mappa concettuale
Mettiti alla prova con il quiz
Domanda 1 di 5
What is the effect of onsubmit="return false" on the form element in the HTML?
A. Allows the form to submit normally
B. Prevents the form submission and stops the default action
C. Submits the form data to the server via GET
D. Refreshes the page immediately when submitted
Spiegazione
Returning false from onsubmit cancels the form's default submission so client-side script can handle it
Domanda 2 di 5
Why does the script create new Image() objects and set their .src properties for EvaluateImage_normal and similar variables?
A. Ensures images are inserted into the DOM for SEO
B. Delays loading images until user interacts
C. Automatically compresses images to reduce file size
D. Preloads images into the browser cache so swaps occur without flicker
Spiegazione
Creating Image objects and assigning .src preloads them so rollovers swap sources smoothly
Domanda 3 di 5
What does document.WapForm.reset() do when called from the Clear button?
A. Validates form inputs and shows errors
B. Submits the form programmatically
C. Restores form fields to their initial default values
D. Deletes all form elements from the page
Spiegazione
reset() restores form controls to their initial values specified when the page loaded
Domanda 4 di 5
In the CSS rule input[type=radio], input[type=checkbox] { display: inline }, what is the practical effect of display:inline for these inputs?
A. Makes the input elements flow inline with surrounding text
B. Makes input elements expand to the full width of the container
C. Hides input elements from view while keeping their space
D. Forces input elements onto a new line each
Spiegazione
display:inline makes the controls flow within the line instead of behaving as block-level elements
Domanda 5 di 5
What is the main role of the flipImage() function as used with onmouseover and onmouseout in the markup?
A. Compress two images into one for optimization
B. Animate images with a fade transition
C. Validate image file types before loading
D. Swap element image sources to create a rollover effect
Spiegazione
flipImage replaces image.src values on mouse events to implement rollover hover effects
Errore durante il login. Riprova.
Quiz completato
Ecco il tuo risultato personalizzato