We can’t do this without you! Help us stay online and support free content.  Click to Donate

What is the recommended format for adding structured data to

What is the recommended format for adding structured data to pages?

Question: What is the recommended format for adding structured data to pages?

  • JSON
  • Microdata
  • JSON-LD
  • RDFa

Explanation

HubSpot’s developer guidance says structured data is commonly added in a code block inside the page head, and it identifies JSON-LD as Google’s recommended implementation format. HubSpot Developers This approach keeps schema markup separate from the visible HTML, which makes it easier to manage without altering the page’s content structure. HubSpot Developers In HubSpot terminology, the goal is to give search engines machine-readable page information in the format recommended for schema markup. HubSpot Developers That makes this format the preferred choice over attribute-based alternatives. HubSpot Developers

Why the other options are incorrect

JSON is a general data format, but HubSpot’s structured data guidance points to the schema-specific implementation format recommended by Google instead. HubSpot Developers

Microdata embeds schema directly into HTML attributes, but HubSpot’s guidance points to a different recommended format for adding structured data. HubSpot Developers

RDFa also uses HTML attributes for metadata, and HubSpot does not present it as the recommended format for this use case. HubSpot Developers

Source for verification

https://developers.hubspot.com/blog/how-to-use-structured-data-schema-markup-in-hubspot-to-improve-seo

The answer(s) to the question is highlighted in the BOLD text above. You can also find more questions and answers related to the exams on the "HubSpot CMS for Developers II" page.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top