cst final Flashcards
How do you end a line of javascript code?
;
What is an Event Handler?
Event handlers can be used to handle and verify user input, user actions, and browser actions
onchange
An HTML element has been changed
onclick
The user clicks an HTML element
onload
onload
Is Javascript case sensitive?
Yes
What is a cue?
::cue CSS pseudo-element can be used to style captions and other cues in media with VTT tracks
How can a cue be used?
::cue(<selector>) OR ::cue</selector>
How do you make multiple Line JS comments?
/*
Rowspan
Specific to table cells for controlling their vertical span within a table
How do you comment in a VTT file?
NOTE:
Spanning
Used to group inline elements for styling or scripting purposes
control attribute for video/audio purpose
The “controls” attribute in HTML is used with the <video> and <audio> elements to include a set of playback controls for the user. These controls typically consist of a play/pause button, volume control, progress bar, and other features, depending on the browser and platform.</audio></video>
EX: <video></video>
Same Style rule, multiple elements
If you want to apply the same style rule to multiple HTML elements using CSS, you can group those elements together in the CSS rule by separating them with commas.
When would you need to specify a file name for a video or audio file, particularly for older browsers
If it didnt support modern features.
You would use a parameter : A parameter in this context likely refers to a setting or piece of information that you provide to control the behavior of something.