dissertations abstracts international | http://forums.thewebhostbiz.com/index.php/doctoral-dissertation-database/ | essay on my neighbourhood How to refresh meta tag?
Results 1 to 7 of 7

Thread: How to refresh meta tag?

  1. #1
    Join Date
    Dec 2016
    Location
    India
    Posts
    104

  2. #2

    Default

    The <meta> tag is often found at the top of an HTML document between the </title> and the </head> tag. It has a variety of uses, but one of the most common is the client-pull function, used to either reload or redirect pages after a specified amount of time.

  3. #3

    Default

    Meta refresh is a method of instructing a web browser to automatically refresh the current web page or frame after a given time interval, using an HTML meta element
    the syntax looks like this:
    <meta http-equiv="Refresh" content="30">
    example is given below:
    <head>
    <meta http-equiv="refresh" content="30">
    </head>
    I hope it helps you...

  4. #4
    Join Date
    Jun 2013
    Location
    Forum
    Posts
    1,183

    Default

    A meta tag is a tag (that is, a coding statement) in the Hypertext Markup Language (HTML) that describes some aspect of the contents of a Web page. There are many meta tags and html-tags and obviously they don't all influence the search result.
    Cheap VPS Hosting | $1 VPS Hosting
    Windows VPS Hosting | Windows with Remote Desktop Access
    Cheap Dedicated Servers | Linux Dedicated Server Hosting

  5. #5
    Join Date
    Nov 2017
    Location
    Delhi, India
    Posts
    26

  6. #6
    Join Date
    Aug 2017
    Location
    Pune
    Posts
    464

    Default

    Meta revive tags have exactly drawbacks: if a page redirects excessively awful rapidly (less over 2-3 seconds), utilizing the "Back" catch on the following page might foundation A percentage browsers with move back of the redirecting page, whereupon those redirect will happen once more.

  7. #7

    Default

    You can also do a refresh with PHP and Javascript if you're not familiar with meta tags.

    PHP:

    <?php
    $page = $_SERVER['PHP_SELF'];
    $sec = "10";
    ?>

    Javascript:
    <script>
    var time = new Date().getTime();
    $(document.body).bind("mousemove keypress", function(e) {
    time = new Date().getTime();
    });

    function refresh() {
    if(new Date().getTime() - time >= 60000)
    window.location.reload(true);
    else
    setTimeout(refresh, 10000);
    }

    setTimeout(refresh, 10000);
    </script>


    But as people have mentioned, here's how you do it with the meta tag:
    <meta http-equiv="refresh" content="5" >
    Sharktech - VPS, Colocation, and Dedicated servers since 2003.
    Mike Gazzerro
    Los Angeles, Denver, Chicago, Amsterdam
    Have your own ASN? Let us scrub your traffic. We have the best DDOS protection.

Similar Threads

  1. What are meta tags..?
    By artijain1900 in forum Business Tools
    Replies: 2
    Last Post: 01-26-2018, 05:32 AM
  2. What are meta tags ?
    By artijain1900 in forum Web Hosting Community
    Replies: 2
    Last Post: 10-17-2017, 08:15 AM
  3. Tell me What is Meta Tag?
    By Chris Gifford in forum Web Hosting Community
    Replies: 3
    Last Post: 07-11-2017, 07:16 AM
  4. What are meta descriptions and do they still matter?
    By StuartSpindlow1 in forum Business Tools
    Replies: 7
    Last Post: 03-12-2016, 08:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •