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
ONIX Codelist 73 released
ONIX Codelist 73 released

Insights into the latest updates and additions made to ONIX codelists.

Read More →
Must-watch, must-read: The Oscars 2026 effect
Must-watch, must-read: The Oscars 2026 effect

How did being nominated for the Oscars in 2026 impact book sales, loans and holds among Canadians?

Read More →
5 key takeaways from trendspotting
5 key takeaways from trendspotting

What’s been trending in the Canadian publishing industry?

Read More →
Highlights from The Canadian Book Market 2025
Highlights from The Canadian Book Market 2025

Want to make data-informed decisions? We can help.

Read More →
EDItEUR releases latest ONIX 3.1 revision 3
EDItEUR releases latest ONIX 3.1 revision 3

EDItEUR announces publication of ONIX 3.1 revision 3.

Read More →
Podcast: The importance of social media in the publishing industry
Podcast: The importance of social media in the publishing industry

Founder of Tandem Collective, Naomi Bacon, talks to us about how social media can be used to market books.

Read More →
How are Canadian readers celebrating neurodiversity?
How are Canadian readers celebrating neurodiversity?

How are neurodiversity-related titles performing in the Canadian book market?

Read More →
Sustainability at BookNet: 2025
Sustainability at BookNet: 2025

BookNet’s 2025 greenhouse gas (GHG) emissions.

Read More →
Subject spotlight: Women
Subject spotlight: Women

Sales and library circulation data of Women Fiction and Non-Fiction titles during the the fourth quarter of 2025.

Read More →
March 2026 Loan Stars Adult Canadian top picks
March 2026 Loan Stars Adult Canadian top picks

Find out which titles made it to the March 2026 Loan Stars Adult Canadian list.

Read More →
Leveraging standards in the wake of the big boom in romance
Leveraging standards in the wake of the big boom in romance

As romance takes the book world by storm yet again, we share insights regarding the impact this growth has had on existing standards.

Read More →
Revisiting the popularity of bread cookbooks
Revisiting the popularity of bread cookbooks

As we hit the six-year mark since the beginning of the pandemic, we’re revisiting cookbooks and bread-related cookbooks too, to check on how they’re doing.

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
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 473
  • Ebooks 304
  • Tech Forum 277
  • Conferences & Events 261
  • Standards & Metadata 248
  • Bookselling 221
  • Publishing 199
  • ONIX 193
  • Marketing 152
  • Podcasts 126
  • ebookcraft 112
  • BookNet News 106
  • Loan Stars 76
  • Libraries 67
  • BiblioShare 59
  • 5 Questions With 53
  • SalesData 51
  • Thema 46
  • CataList 43
  • 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.