Menu

Add Dublin Core Metadata to a Static HTML Page with dublin-core-basics
📰

Add Dublin Core Metadata to a Static HTML Page with dublin-core-basics

DEV Community: html·Fernando Paladini·1 day ago
#uQuDwRCi
#devto2#devto#dev#metadata#html
Reading 0:00
15s threshold

When a static site needs descriptive metadata, it is tempting to copy a long list of meta tags from an old template and hope search engines reward it. That approach is hard to audit and easy to overstate.

The open-source dublin-core-basics repository is a small, readable starting point. It is a static HTML guide that shows the Dublin Core vocabulary in context. The useful lesson today is not that Dublin Core guarantees better rankings. It is how to add a small, explicit metadata profile to an HTML document, then verify what the browser actually receives.

What you will build

You will create a minimal static page with:

standard HTML metadata such as description and author ;

Dublin Core terms expressed as HTML meta elements;

a stable identifier and an explicit language value;

a repeatable check that reads the document head and reports missing fields.

The example is intentionally small.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.