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
Auf dieser Seite können Sie das Online-Video Attributes and properties - Basic JavaScript Fast (52) | setAttribute, getAttribute, dataset mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Begin Coding Fast 12 November 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 78 Mal angesehen und es wurde von 6 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!