Category: html5


sessionStorage vs localStorage vs cookie applications

sessionStorage, localStorage and cookie all are solutions to store data on client side. They can be used for session management user preference management To setup never expiring tokens and many others. sessionStorage – persists...


Making max width work in internet explorer

If you have ever had to pull your hair out over why the max-width property is not having any effect on your markup in internet explorer, the solution is quite simple, yet baffling. It...


pseudo elements vs pseudo classes

pseudo elements They allow you to style certain parts of a document. For example, you can style the first letter of each paragraph. MDN list of pseudo elements The following video demonstrates the pseudo...


window.onload vs document.onload

window.onload It is fired when the entire page loads, including its content (images, css, scripts, etc.) $(window).load() document.onload It is fired when the DOM is ready which can be prior to images and other...

Show Buttons
Hide Buttons