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
Common metadata issues and how to fix them: Display issues caused by rogue &lt;div&gt; tags
Common metadata issues and how to fix them: Display issues caused by rogue <div> tags

Tips on how to avoid display issues caused by rogue <div> tags.

Read More →
5 questions with Terrier Books
5 questions with Terrier Books

5 questions with Gladys VALLEE-AGRICOLE, the owner of Terrier Books.

Read More →
Buy Canadian: What it means for the book market
Buy Canadian: What it means for the book market

What can the Canadian book market do to support the Buy Canadian movement?

Read More →
EU Deforestation Regulation and ONIX: Advice worth reading from EDItEUR
EU Deforestation Regulation and ONIX: Advice worth reading from EDItEUR

EDItEUR’s new Application Note.

Read More →
ONIX Codelist 70 released
ONIX Codelist 70 released

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

Read More →
Subjects on the move in the Canadian market
Subjects on the move in the Canadian market

Subject trend sales from January 2025 to June 2025.

Read More →
Subject spotlight: Cooking
Subject spotlight: Cooking

Sales and library circulation data of Cooking titles during the the second quarter of 2025.

Read More →
Most circulated Canadian books: July 2024 to July 2025
Most circulated Canadian books: July 2024 to July 2025

The most circulated Canadian books from July 1, 2024, to July 6, 2025.

Read More →
Making the bestseller list: The true impact of a pre-order campaign
Making the bestseller list: The true impact of a pre-order campaign

We had a chat with Kim Werker, Co-Founder and Publisher of Nine Ten Publications about their recent bestseller.

Read More →
The Booksellers' List
The Booksellers' List

The Booksellers’ List is here!

Read More →
Bestselling Canadian books: July 2024 to July 2025
Bestselling Canadian books: July 2024 to July 2025

The bestselling Canadian books from July 1, 2024, to July 6, 2025.

Read More →
5 questions with Roots &amp; Bridge
5 questions with Roots & Bridge

5 questions with Brian Li, the President of Roots & Bridge.

Read More →

Tagged: book metadata best practices

Older Post5 questions with Terrier Books
Blog RSS

The Canadian Book Market 2024 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 457
  • Ebooks 304
  • Tech Forum 269
  • Conferences & Events 261
  • Standards & Metadata 234
  • Bookselling 219
  • Publishing 195
  • ONIX 180
  • Marketing 152
  • Podcasts 119
  • ebookcraft 112
  • BookNet News 100
  • Loan Stars 72
  • Libraries 66
  • BiblioShare 59
  • 5 Questions With 50
  • SalesData 50
  • CataList 43
  • Thema 43
  • Awards 30
  • Diversity & Inclusion 21
  • Publishing & COVID-19 18
  • EU Regulations 11
  • Sustainability 11
  • 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.