html5 - How to Set Timer in HTML? -


i want show loading(gif) image 3 seconds , want open website link(say http://example.com), after timer(3 seconds) complete. how set timeout in html?

enter image description here

you can use html redirect

<meta http-equiv="refresh" content="3; url=http://stackoverflow.com/" /> 

the number in content means seconds until page redirected next paramenter, url.


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -