-->

HTML with meta tag (different size device)

Somewhere we have to display content on different device. How to work with them?
---------------------------------------------------------------------------------------------

<html>          <!--called root tag-->
    <head>      <!--contains meta information of page-->
        <title><!--contains title of page-->
        html with metatag;it is used to have page deescription,keyword,character set,author etc.
        </title>
        <meta charset="utf-8"><!--it is used for chracter set-->
        <meta name="description" content="html examples"><!--it is for description of webpage-->
        <meta name="keywords" content="HTML, C, c++, JavaScript"><!--it is used for keywords for search engines-->
        <meta name="author" content="Krishna"><!--it is used for author name-->
        <meta http-equiv="refresh" content="3"><!--it refreshes the page in every 3 seconds-->
        <meta name="viewport" content="width=device-width, initial-scale=1.0"><!--for different devices of different width-->
    </head>  
    <body>
        we have used meta tag in our page as shown inside head tag.
    </body>
</html>

No comments:

Post a Comment