Categories
Html5

Make a placeholder for a “select” box

We all know that for a text input, the placeholders are working fine. But what about if we use a placeholder for a select box as well? Let’s see. Sometimes we need to use placeholder for a selectbox and making grey color is also remarkable. Suppose, we have a following html for a selectbox: <select> […]

Categories
Html5

Store objects in HTML5 localStorage

The localStorage property allows you to store objects in HTML5 that is more secure and can store large amounts of data locally. It’s essential sometimes having stored JavaScript object in HTML5 localStorage. But objects don’t seem to work? Let’s see. Basically, if you have a look for Apple, Mozilla and Microsoft documentation, you can find […]