What is Schema Markup

6 min read

Schema markup is a code in the form of structured data that communicates what your website pages are about, to the search engines in a language, they can understand.

There are three languages of code that you can add to your HTML to tell search engines what exactly is on your webpage JSON-LD, microdata, and RDFa.

Incorporating schema markup into HTML code plays a crucial role in enhancing your search engine visibility and them understanding what’s on your website.

Three prominent languages of code-JSON-LD, microdata, and RDFa-serve as vehicles for conveying essential information about webpage content to search engines.

JSON-LD, known for its simplicity and flexibility, allows developers to seamlessly embed structured data within HTML documents using a separate script block. Microdata, on the other hand, involves adding specific HTML attributes to mark up content, providing search engines with context about the data presented on the webpage. Lastly, RDFa (Resource Description Framework in Attributes) integrates within HTML elements to annotate webpage content, offering a standardized approach to expressing structured data.

By leveraging these languages of code, web developers can empower search engines to better understand and index webpage content, ultimately improving the visibility and relevance of their websites in search engine results.

For example, recipe schema markup, tells Google that a piece of content on a webpage is a step-by-step guide to making a recipe. Google can then give searchers a preview of each step within the search results page from reading the code in the example below.

You’ve all seen the recipes on Google and how much space they take up! Well this is why.

JSON-LD (JavaScript Object Notation for Linked Data)

JSON-LD is perhaps the structured encoding system that’s most used by site developers. It’s a little bit easier to use since all the schema vocabulary used for JSON-LD can be placed within your HTML code’s <script> tags rather than scattered throughout your website code (HTML). This helps with organisation and accuracy of your website’s information and is a big reason why both Schema.org and Google are endorsing it as the structured data of choice.

Another benefit is that Google can read any JSON-LD you happen to have embedded within any of your page’s JavaScript or widgets. It is recommended to be place in the head of your code. See our Free Local Business Schema Generator and the Free Article or Post Schema Generator

Microdata

The outcome of Microdata is pretty much the same as JSON-LD but is formatted differently.

The following example is telling search engines about a free restaurant.

The code needs to be embedded into a webpage’s body HTML, which means it’s less beginner friendly to add, especially with WordPress. It’s also difficult to use at scale for larger websites.

RDFa (Resource Descriptive Framework in Attributes)

RDFa is similar to microdata in that you add it to your page’s code through HTML tags + attributes.

However, it’s a bit older and more complex. The benefit is that it can be easier to integrate it with other apps or platforms that also use it.

Rounding up, when it comes to incorporating structured data markup into HTML code for improved search engine visibility, JSON-LD, microdata, and RDFa each offer unique advantages. JSON-LD stands out for its simplicity and flexibility, allowing developers to embed structured data seamlessly using a separate script block.

Microdata offers a straightforward approach by adding specific HTML attributes to mark up content directly within the document. Meanwhile, RDFa integrates within HTML elements to annotate webpage content, providing a standardized method for expressing structured data.

While all three languages serve the same purpose of conveying information to search engines, JSON-LD is often preferred for its ease of implementation and clarity. However, the choice ultimately depends on individual preferences and project requirements.

This has been a brief introduction into Schema, about what sort of Schema exists and what it does. If you are confused, it’s like anything in life, It just takes practice. You can head over to our free schema markup generator and try it for yourself.

Schema Markup

If you realise it’s not for you but you recognise it is important for your website, contact Web Honey Digital, we’ll look after you.

Why is Every Website Looking the Same

Why is Every Website Looking the Same?

It’s made with AI and that’s part of the reason you still need a web designer Good structure and usability are essential parts of web design best practices. Have you noticed that all the new AI-generated websites look strangely alike?That soft beige background, a teal-green highlight (#008275 if you’re checking), and friendly curved fonts that…

Cost To Hire A Web Designer

How much does it cost to hire a web designer?

The cost of hiring someone to design a website can vary widely based on several factors. These factors include the complexity of the website, the level of customization required, the features and functionalities needed, the experience and expertise of the designer or agency, and the geographical location. Here’s a breakdown of the typical pricing structures in the web design industry.

Neural Matching

Evolution of Keyword Relevance in SEO Neural Matching

As search engine algorithms continue to evolve (as they continue to do regardless of what we hear), staying ahead of the curve is vital. Embracing the power of Google Neural Matching and its emphasis on context, relevance, and user intent will help websites thrive at least for now.

Youtube watch

Why YouTube Pages on Your Website Don’t Get Indexed + why it’s so important for SEO

YouTube Links and Indexing Problems Many website owners are surprised to find that YouTube links embedded or listed on their website don’t appear in Google’s search index. You might have a blog post full of useful videos, but when you search for that exact URL in Google, it’s nowhere to be seen. The issue often…