The universal selector (*), matches the name of any element type. It matches any single element in the document tree. Some ways it can be read more
DOMContentLoaded event is fired when document DOM is ready and before images, etc. are loaded. It is similar to jQuery $(document).ready(). Here is code snippet read more
HTML document ready event is called before image assets, etc. are loaded on the page. window onload handler is called once all assets have been read more
Sometime we need to call a function after an image has been loaded. We can attach onload even handler on image either in html itself read more
Copyright © 2022 InfoHeap.
Powered by WordPress