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.
css animations
Allow you to create smooth and visually appealing transitions or movements on web pages without relying on JavaScript or other scripting languages.
Common animation properties
Animation name, duration, timing function, delay, iteration count, direction, and fill mode
Fieldset
The <fieldset> element in HTML is used to group related elements within a web form and is often accompanied by the <legend> element to provide a title or caption for the grouping.
Forms
<form> : various form elements and attributes are used to collect and submit user input
Common examples: <input></input> with type="text", <textarea> , <select> , <button>
action and method
</button></select></textarea></form>
input type
the type attribute is used within the <input></input> element to define the type of data that the input field is expected to accept.
<input></input> text, password, checkbox, submit, reset, file
Table
an HTML element used to organize and display data in a structured grid or tabular format. Tables are composed of rows and columns, with each intersection of a row and column referred to as a cell. The primary HTML elements used to create tables are <table>, <tr> (table row), <th> (table header cell), and <td> (table data cell).
Rows
A row is a horizontal group of cells within a table.
Column
A column is a vertical group of cells within a table.