Exploring 5 meta tags to help beginners with SEO

I'm a full-stack developer from South Africa πΏπ¦. I love writing about JavaScript, HTML and CSS.
Search for a command to run...

I'm a full-stack developer from South Africa πΏπ¦. I love writing about JavaScript, HTML and CSS.
Chris Bongers There are also 2 important meta tags that are also highly important in SEO.
1) Twitter Cards meta tags & Open Graph Meta tags 2) Language Meta tags
Hi Bhavya,
I don't quite agree with the Twitter card being important for SEO. It's a good meta tag to use, but doesn't affect your SEO scores as far as I know.
The language tag should be enough when provided on the HTML tag, however when using multiple languages very true you should define the current language.
Most of you know me for my consistency, a golden arrow in my blog series. I've written 1000 articles in 1008 days! Almost an article a day, and my honeymoon was the only holiday I ever took. I'm super proud of this achievement; it has been a fantasti...

It's not the first time I'll be talking about community. I think it's an essential aspect of any successful tool. This shows in my previous explorations of Astro, Medusa, and now Vendure as well. All these products thrive in a super open, welcoming, ...

The cool part about Vendure is how easy it is to set up and how abstract each layer is. Basically, we get the following elements: External database Server Worker Admin UI Frontend While this is amazing, it also brings a bit of complexity when it co...

The previous article looked at customizing Vendure on a data and process level. In this article, we'll look at customizing emails, as they are often a big part of a webshop system. We'll be looking at two different layers of customization for customi...

Even though Vendure is a pretty significant project out of the box, in some cases, we might want to go in and modify some elements to work to our specific use case. In this article, I'll take a high-level look at some elements we can customize within...

In today's article, we will be learning about meta tags, what they are, why we need them, and how they work.
Meta tags are tiny snippets of code that have two main goals:
Let's get right to it and check out these five important meta tags for SEO.
This is the title as we show it to Google.
We can add a meta title with the following code.
<title>Top 10 Chrome extensions for developers π</title>
Some tips for using titles:
How a title looks in Google:

After the title, the biggest win is the description. As the name suggests, it's a brief description of your web page. They can be any length, but Google generally shows around 150-160 characters. They should provide a good description where you tell the user what this page is about.
Here are some guidelines for meta descriptions:
This is how you can add a description tag in HTML.
<meta name="description" content="I write daily web development tips that help you become a more efficient software developer.">

Note: Search engines may decide to show other content on the page over the description
This tag MUST be on every page. Leaving this out can really impact your website not being indexed.
These are the two major ones:
UTF-8: Unicode character encodingISO-8859β1: Latin alphabet encodingFind a full character setlist here
Why it's important:
You can add a charset like this in HTML
<meta charset="utf-8">
A viewport tag is used to tell a browser what to do with several screen sizes. By having this tag, we tell google we are mobile-friendly. And we all know Google ranks mobile-friendly sites higher!
How to add a viewport in HTML?
<meta name="viewport" content="width=device-width,initial-scale=1">
The content can be different, but this is a widely adopted default.
Read CSS Tricks full guide on the responsive meta tag.
A last one important, but not required for SEO, is a robots tag. With a robots tag, we can give search engine bots what to do with this page.
It can have the following options:
index: Tell the bot to index this pagenoindex: No, don't index this pagefollow: Follow links on this pagenofollow: Don't follow any links on this pageUse these robot tags only on pages where you want to restrict a bot. (Like admin pages)
A robot tag will look like this:
<meta name="robots" content="index, follow">
Thank you for reading my blog. Feel free to subscribe to my email newsletter and connect on Facebook or Twitter