Skip to content

A ready-to-use HTML boilerplate to optimize your website's meta tags for search engines and social media platforms.

License

Notifications You must be signed in to change notification settings

jeremy0x/meta-tag-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Meta Tag Boilerplate <meta />

A ready-to-use HTML boilerplate for optimizing your website's meta tags for search engines and social media platforms.

Getting Started

  1. Clone or download the repository to your local machine.
  2. Replace the placeholder values in the HTML code with your own information.
  3. Add the code to the <head> section of your website's HTML file.

Included Meta Tags

Meta Tag Description
charset Specifies the character encoding of the document
viewport Controls the viewport's dimensions and scaling
theme-color Specifies the theme color for the site
robots Informs search engine crawlers whether or not to index or follow links on the page
title Specifies the title of the document
description Provides a concise summary of the page content
keywords Provides a comma-separated list of keywords relevant to the page
alternate Specifies alternate language versions of the page
icon Specifies the icon to represent the page
og:type Specifies the type of website or page being shared on social media
og:url Provides the canonical URL of the page
og:title Specifies the title of the page to display on social media
og:description Provides a summary of the page content to display on social media
og:image Specifies the image to display on social media
og:site_name Specifies the name of the website to display on social media
twitter:card Specifies the type of card to display on Twitter
twitter:url Provides the canonical URL of the page
twitter:title Specifies the title of the page to display on Twitter
twitter:description Provides a summary of the page content to display on Twitter
twitter:image Specifies the image to display on Twitter
script type="application/ld+json" Provides structured data in JSON-LD format for search engine crawlers

Generating a Favicon

You can generate a favicon using a website like favicon.io.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Feel free to use and modify the code for your own projects. If you found this repository helpful, please consider giving it a star.

About

A ready-to-use HTML boilerplate to optimize your website's meta tags for search engines and social media platforms.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages