GRANDEZZE FISICHE ED ERRORI
Studia con la mappa concettuale
Mettiti alla prova con il quiz
Domanda 1 di 5
What is the primary purpose of the flipImage function in the snippet
A. To submit the form data to the server
B. To validate user inputs in the form
C. To swap an image's src with a preloaded image
D. To dynamically change CSS styles
Spiegazione
flipImage changes the src of image elements to the corresponding preloaded Image object's src to implement rollovers or state changes.
Domanda 2 di 5
Which element wraps the form inputs for user name and surname
A. A div with id mathtest
B. The form element named WapForm
C. A table element directly without a form
D. A script element
Spiegazione
The inputs are placed inside a form element with name="WapForm", which contains the tables and inputs for the user data.
Domanda 3 di 5
What user action triggers the correct(document.WapForm) call
A. Clicking the 'Valuta' link
B. Submitting the form via Enter key
C. Hovering over the Evaluate image
D. Loading the page
Spiegazione
The anchor for 'Valuta' has an onclick that calls correct(document.WapForm), so clicking that link invokes the function.
Domanda 4 di 5
Why are images like EvaluateImage_up preloaded in the script
A. To reduce the total number of images downloaded by the browser
B. To validate image integrity before display
C. To hide images until a user clicks a button
D. To cache rollover images and make hover effects instantaneous
Spiegazione
Preloading stores Image objects with src set so that when a hover/rollover uses them, the browser can swap immediately without a visible delay.
Domanda 5 di 5
Which CSS rule sets radio buttons and checkboxes to display inline
A. A class selector .radio-inline
B. The universal selector *
C. The rule targeting input[type=radio] and input[type=checkbox]
D. Styling is applied via inline style on each input
Spiegazione
The stylesheet includes input[type=radio], input[type=checkbox] { width: auto; display: inline; } which sets those form controls to display inline.
Errore durante il login. Riprova.
Quiz completato
Ecco il tuo risultato personalizzato