This video discusses the relationship between the attributes in HTML and the properties in DOM nodes. Standard attributes can be converted to DOM properties, but the non-standard ones cannot. To access the non-standard attributes, we use the "attributes" method. We can also get, set or remove an attribute, too. The conversion between HTML attributes and DOM properties are synchronized. Though the attribute value is a string, the corresponding DOM property value can be of other data types. Finally, we discuss the dataset property of DOM nodes, which helps to organize our custom attributes for easy access.
2:09 - Conversion between HTML attributes and DOM node properties
11:01 - Attribute-property synchronization
14:03 - DOM properties can be of other data types
16:24 - dataset property of DOM nodes
Playlist of my JavaScript course
• [20 hours] JavaScript tutorial for be...
Playlist of my HTML5 and CSS3 tutorials
• [12 hours] HTML and CSS tutorials for...
Playlist of my algorithm walkthrough
• Algorithms and data structures | DSA ...
Playlist of my Java course
• [14 hours] Java tutorial for beginner...
Playlist of my Java examples
• Java projects for beginners | Java pr...
#javascripttutorial #javascriptfullcourse #begincodingfast #javascript #dataset
In questa pagina del sito puoi guardare il video online Attributes and properties - Basic JavaScript Fast (52) | setAttribute, getAttribute, dataset della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Begin Coding Fast 12 novembre 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 78 volte e gli è piaciuto 6 spettatori. Buona visione!