Attributes and properties - Basic JavaScript Fast (52) | setAttribute, getAttribute, dataset

Publicado el: 12 noviembre 2023
en el canal de: Begin Coding Fast
78
6

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


En esta página del sitio puede ver el video en línea Attributes and properties - Basic JavaScript Fast (52) | setAttribute, getAttribute, dataset de Duración hora minuto segunda en buena calidad , que subió el usuario Begin Coding Fast 12 noviembre 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 78 veces y le gustó 6 a los espectadores. Disfruta viendo!