Show List
Meta Tags
HTML meta tags define the metadata (Informational) about the HTML page. Meta tags go inside the <head> element and are used to specify character set, page description, keywords, author and viewport settings. Meta tags are important as they impact how the web site appears on search engine results page, traffic to the site and ranking.
- Charset specifies character encoding. Latest HTML specifications recommend using UTF-8 character set.
- Title is to give a title to the page. This is on the browser tab.
- Description provides brief summary about the page.
- Keywords are the search keywords to find the web page
- Author is author of the web page
- Viewport is used to control scaling of the page so that it is displayed correctly on all devices.
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title>Sample HTML Page</title><meta name="description" content="Description of the page"><meta name="keywords" content="Sample, HTML"><meta name="author" content="Author's Name"><meta name="viewport" content="width=device-width, initial-scale=1.0"></head>
Leave a Comment