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.

colour palettes 2025

Website Colour Palettes 2025

Your website’s colour scheme is more than decoration—it sets the tone for how visitors feel about your brand. In the first few seconds of landing on your site, colours influence whether someone sees your business as trustworthy, fresh, luxurious, playful, or out of touch.

Fastest-WordPress-Theme Astra

Fastest WordPress Theme

Astra Theme, Benefits, Page Builder Compatibility, and Why It’s the Fastest The Astra Theme is one of the most popular and versatile WordPress themes, offering a blend of speed, flexibility, and ease of use. Whether you’re a business owner, blogger, or web designer, Astra stands out for its performance, extensive customisation options, and seamless compatibility…

SEO in 2025

Is SEO in 2025 Different?

SEO has changed in 2025 Surely, you’ve noticed SEO in 2025 has changed. Please. Search Engine Optimisation has been undergoing significant changes due to advancements in AI (Artificial Intelligence) and the rising dominance of platforms like YouTube. YouTube is rising in SEO because Google isn’t sending people to websites to answer questions, they have their…

ai language model

Why do you need to be careful when using AI?

Why Has Google Cracked Down on External AI-Generated Content Google isn’t targeting AI-generated content, rather its aim is to cleanse search results of redundant, unoriginal content, regardless of its human or AI origin. With Google’s latest update, Google seeks to eliminate websites that offer little value while promoting those with meaningful content. 1. Quality and…