Home
Blog
Overview of all products
SalesData
LibraryData
CataList
Loan Stars
BiblioShare
Webform
EDI
Products for publishers
Products for retailers
Products for libraries
Information for authors
BNC Research
Canadian literary awards
SalesData & LibraryData Research Portal
Events
Tech Forum
Webinars & Training
Code of Conduct
Standards
EDI standards
Product identifiers
Classification schemes
ONIX standards
About
Contact us
Media
Bestseller lists
Newsletters
Podcast
Jobs
SalesData
LibraryData
CataList
BiblioShare
Webform
EDI

BookNet Canada

Home
Blog
Overview of all products
SalesData
LibraryData
CataList
Loan Stars
BiblioShare
Webform
EDI
Products for publishers
Products for retailers
Products for libraries
Information for authors
BNC Research
Canadian literary awards
SalesData & LibraryData Research Portal
Events
Tech Forum
Webinars & Training
Code of Conduct
Standards
EDI standards
Product identifiers
Classification schemes
ONIX standards
About
Contact us
Media
Bestseller lists
Newsletters
Podcast
Jobs
SalesData
LibraryData
CataList
BiblioShare
Webform
EDI
BookNet Canada
August 28, 2025
Standards & Metadata, Tech Forum

Common metadata issues and how to fix them: Display issues caused by rogue <div> tags

BookNet Canada
August 28, 2025
Standards & Metadata, Tech Forum

At BookNet, metadata is at the core of what we do. With so much of it flowing in and out of our products and services, we’ve seen it all. In this blog series, we will share each of the common issues addressed in the Improving your metadata: Common issues and how to fix them Tech Forum presentation where eight BookNetters walk you through some of the most common issues we see in publishers’ metadata, highlighting what metadata standards are recommended for each case and showing you how to fix these common problems.

Why is this important? Accurate, high-quality metadata ensures your books are seen and that they succeed in today’s competitive marketplace. Join us as we help you optimize your metadata and unlock its full potential!

The issue: Display issues caused by rogue <div> tags

Image source: gunshowcomic.com/648

When HTML isn't implemented according to ONIX standards, your carefully crafted book, contributor and/or biographical descriptions, might appear perfectly formatted in your systems, but downstream partners may see broken layouts, missing text, or other display problems.


Why is this an issue?

ONIX allows only a specific subset of HTML tags to be used within certain metadata fields. Using tags outside this approved list can cause problems for systems that process your metadata and throughout the supply chain. This may lead to:

  • Display issues on platforms like CataList

  • Display issues among key data recipients, including retailers and libraries

  • Text not being indexed correctly for search

  • Content cut-off or formatting that makes it hard to read or inaccessible


What BookNet recommends

1. Stick to approved HTML/XHTML tags:

The ONIX 3.0 Implementation and Best Practice Guide lists recommended, allowed, and disallowed tags. Strongly preferred tags include:

  • <p> and <br/> for paragraphs and line breaks within paragraphs

  • <i> and <em> for italic

  • <b> or <strong> for bold

  • <cite> for book titles

  • <ul>, <ol>, and <li> for bulleted numbered lists

  • <sub> and <sup> for sub and subscript

  • <dl> <dt> and <dd> for definition lists

  • <ruby>, <rb>, <rp> and <rt>  for simple glosses in Mandarin, Cantonese, Japanese, and other text.

2. Use markup only where necessary:

Not all tags support XHTML, so it’s important to use markup thoughtfully. In some cases, you may want to avoid it altogether. For example, if the text within your HTML/XHTML is used by retailers for indexing, removing the markup can help ensure the text is parsed correctly.

Alternatively, you can use display-oriented fields in your ONIX data, such as <ContributorStatement> or <TitleStatement>. These are useful if your book information requires specific formatting beyond standard conventions. Otherwise, leaving these fields free of HTML/XHTML will help retailer and library systems index and parse your data as intended.

3. Follow these key rules:

  • Make sure text is contained within paragraph tags (<p> … </p>)

  • Avoid copying content directly from word processors, PDFs, or websites

  • Ensure your characters are in UTF-8 encoding

  • Keep tags lowercase (XHTML is case-sensitive)

  • Avoid HTML attributes (like style attributes)

  • Always match your tags correctly and maintain proper nesting

4. Consider using XHTML instead of HTML:

Using XHTML instead of HTML is the best method of all. XHTML offers better structure and reliability as it requires properly closed tags, correct nesting, and case sensitivity (lowercase tags). This helps prevent parsing errors in automated systems that process ONIX data.

Need help? Don't hesitate to reach out to the BookNet team with specific questions.

The complete slide deck and transcript from this session are available here.

To stay up to date, subscribe to our weekly newsletter, eNews, where we share news about upcoming events and webinars, infographics and new research, updates on industry standards, links round-ups, and more.

Subscribe

Don’t miss any new blog posts. Sign up for our weekly eNews to receive updates.

You can unsubscribe at any time. We respect your privacy.

Thank you!
Recent posts
New SalesData &amp; LibraryData features: Quick Search improvements
New SalesData & LibraryData features: Quick Search improvements

Users can now narrow down their results further and use them to directly build other reports in SalesData & LibraryData.

Read more →
Subject Spotlight: Satire
Subject Spotlight: Satire

Sales and library circulation data of Satire titles during the the first quarter of 2026.

Read more →
How are you approaching AI? Take the AI use in the North American book industry survey 2026
How are you approaching AI? Take the AI use in the North American book industry survey 2026

Whether you’re all in on AI, all out, or somewhere in between, we want to hear from you.

Read more →
Can we give up completely on ONIX 2.1?
Can we give up completely on ONIX 2.1?

This year, some major industry players have announced their intent to end their support of the ONIX 2.1 version leaving everyone asking the same question.

Read more →
The Canadian Book Consumer Study 2025 is here
The Canadian Book Consumer Study 2025 is here

Get a free copy of the study in PDF or EPUB format today!

Read more →
Mother's Day 2026
Mother's Day 2026

What books did Canadians buy their mothers for Mother’s Day 2026?

Read more →
Strategies for streamlining ONIX creation
Strategies for streamlining ONIX creation

This blog post outlines strategies for streamlining ONIX creation, maintenance, and distribution.

Read more →
Podcast: The Heated Rivalry ripple effect impacting playwrights’ publishing in Canada
Podcast: The Heated Rivalry ripple effect impacting playwrights’ publishing in Canada

Annie Gibson talks to us about an unexpected entanglement between Heated Rivalry breakout star Hudson Williams and Playwrights Canada Press’ Yaga.

Read more →
Canadians and rising book prices 2025
Canadians and rising book prices 2025

How much are Canadian book buyers willing to pay for books, how Canadian book buyers are spending their money, and the value they attribute to books.

Read more →
Understanding Multi-item vs. Multicomponent products in ONIX:  Making sense of one of ONIX's trickiest distinctions
Understanding Multi-item vs. Multicomponent products in ONIX: Making sense of one of ONIX's trickiest distinctions

This new Application Note tackles what Executive Director Graham Bell calls "one of the trickier aspects of ONIX".

Read more →
Canadian book borrowers in 2025
Canadian book borrowers in 2025

Insights into the behaviour of Canadian book borrowers.

Read more →
May 2026 Loan Stars Junior Canadian top picks
May 2026 Loan Stars Junior Canadian top picks

Top Canadian Jr. picks for May 2026.

Read more →

Tagged: book metadata best practices

Newer PostEuropean Union e-waste legislation information for exporters: What publishers need to know
Older Post5 questions with Terrier Books
No results found
Blog RSS

The Canadian Book Market 2025 is the comprehensive guide to the Canadian market with in-depth category data.

Get your copy now

Listen to our latest podcast episode


  • Research & Analysis 484
  • Ebooks 304
  • Tech Forum 278
  • Conferences & Events 262
  • Standards & Metadata 252
  • Bookselling 221
  • Publishing 200
  • ONIX 196
  • Marketing 153
  • Podcasts 128
  • ebookcraft 112
  • BookNet News 107
  • Loan Stars 78
  • Libraries 67
  • BiblioShare 59
  • 5 Questions With 53
  • SalesData 52
  • Thema 47
  • CataList 44
  • Awards 30
  • Diversity & Inclusion 21
  • Sustainability 19
  • Publishing & COVID-19 18
  • EU Regulations 16
  • LibraryData 10
  • ISNI 4

 

 

BookNet Canada is a non-profit organization that develops technology, standards, and education to serve the Canadian book industry. Founded in 2002 to address systemic challenges in the industry, BookNet Canada supports publishing companies, booksellers, wholesalers, distributors, sales agents, industry associations, literary agents, media, and libraries across the country.

 

Privacy Policy | Accessibility Policy | About Us

BOOKNET CANADA

Contact us | (416) 362-5057 or toll free 1 (877) 770-5261

We acknowledge the financial support of the Government of Canada through the Canada Book Fund (CBF) for this project.

Back to Top

BookNet Canada acknowledges that its operations are remote and our colleagues contribute their work from the traditional territories of the Mississaugas of the Credit First Nation, the Anishnawbe, the Haudenosaunee, the Wyandot, the Mi’kmaq, the Ojibwa of Fort William First Nation, the Three Fires Confederacy of First Nations (which includes the Ojibwa, the Odawa, and the Potawatomie), and the Métis, the original nations and peoples of the lands we now call Beeton, Brampton, Guelph, Halifax, Thunder Bay, Toronto, Vaughan, and Windsor. We endorse the Calls to Action from the Truth and Reconciliation Commission of Canada (PDF) and support an ongoing shift from gatekeeping to spacemaking in the book industry.