Hello Reader's if your website is taking too much time to load the data then you can show the ajax loading icon for the time.
Lets see how to put the loading icon in the website.
<!DOCTYPE html>
<html>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://www.w3schools.com/lib/w3.css">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css">
<body class="w3-container">
<p>Use the w3-spin class to spin an element 360 degrees:</p>
<p>
<i class="fa fa-refresh w3-spin" style="font-size:64px"></i>
</p>
</body>
</html>
Output:-
Example of loading of ajax icon, FindNerd
0 Comment(s)