![]() |
The The metadata will not be displayed on the page, but is used by browsers (how to display content or reload page), by search engines (keywords), and other web services. ExamplesDefine the character set used: <meta charset="UTF-8"> Define keywords for search engines: <meta name="keywords" content="HTML, CSS, JavaScript"> Define a description of your web page: <meta name="description" content="Free Web tutorials"> Define the author of a page: <meta name="author" content="John Doe"> Refresh document every 30 seconds: <meta http-equiv="refresh" content="30"> Setting the viewport to make your website look good on all devices: <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
<!DOCTYPE html>
<html>
<head> <meta charset="UTF-8"> <meta name="description" content="Free Web tutorials"> <meta name="keywords" content="HTML, CSS, JavaScript"> <meta name="author" content="John Doe">
</head>
<body>
<p>All meta information goes inside the head section.</p>
</body>
</html>
Category
: |
Web Tutorial |
Sub Category
: |
HTML - The Head Element |
Uploaded by
: |
Admin |
Read Article https://horje.com/learn/1434/reference