Page 129 - HTML5
P. 129

<meta property="og:locale" content="en_US">
         <meta property="article:author" content="">
         <!-- Facebook: https://developers.facebook.com/docs/sharing/webmasters#markup -->
         <!-- Open Graph: http://ogp.me/ -->

            •  Facebook Open Graph Markup
            •  Open Graph protocol

        Facebook / Instant Articles

         <meta charset="utf-8">
         <meta property="op:markup_version" content="v1.0">

         <!-- The URL of the web version of your article -->
         <link rel="canonical" href="http://example.com/article.html">

         <!-- The style to be used for this article -->
         <meta property="fb:article_style" content="myarticlestyle">

            •  Facebook Instant Articles: Creating Articles
            •  Instant Articles: Format Reference
        Twitter uses its own markup for metadata. This metadata is used as information to control how
        tweets are displayed when they contain a link to the site.

        Twitter

         <meta name="twitter:card" content="summary">
         <meta name="twitter:site" content="@site_account">
         <meta name="twitter:creator" content="@individual_account">
         <meta name="twitter:url" content="https://example.com/page.html">
         <meta name="twitter:title" content="Content Title">
         <meta name="twitter:description" content="Content description less than 200 characters">
         <meta name="twitter:image" content="https://example.com/image.jpg">


            •  Twitter Cards: Getting Started Guide
            •  Twitter Card Validator

        Google+ / Schema.org

         <link href="https://plus.google.com/+YourPage" rel="publisher">
         <meta itemprop="name" content="Content Title">
         <meta itemprop="description" content="Content description less than 200 characters">
         <meta itemprop="image" content="https://example.com/image.jpg">


        Automatic redirect

        Sometimes your webpage needs a automatic redirect.

        For example, to redirect to example.com after 5 seconds:


         <meta http-equiv="refresh" content="5;url=https://www.example.com/" />

        This is line will send you to the designated website (in this case example.com after 5 seconds.

        If you need to change the time delay before a redirect, simply changing the number right before
        your ;url= will alter the time delay.


        Web App


        https://riptutorial.com/                                                                             113
   124   125   126   127   128   129   130   131   132   133   134