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
Loan Stars is 10!
Loan Stars is 10!

Celebrate 10 years of Loan Stars and get a glimpse of the key numbers to note from the 177 top 10 lists we’ve shared!

Read More →
Canadian book buyers in 2025
Canadian book buyers in 2025

Insights into the behaviour of Canadian book buyers.

Read More →
Subject Spotlight: Juvenile Fiction
Subject Spotlight: Juvenile Fiction

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

Read More →
Canadians and their leisure time in 2025: Leisure &amp; Reading study
Canadians and their leisure time in 2025: Leisure & Reading study

This free report looks at how Canadians are spending their leisure time and the behaviours of Canadian readers in 2025.

Read More →
Easier with BookNet: Share notes with contact lists and groups in CataList
Easier with BookNet: Share notes with contact lists and groups in CataList

The Notes feature can be used to save notes privately or share them with your team or clients of your choice. Learn more about how else you can use Notes!

Read More →
Podcast: A peek into Canadians' reading
Podcast: A peek into Canadians' reading

Listen in as we give you some of the highlights from our forthcoming report, Canadian Leisure & Reading Study 2025.

Read More →
Results from the AI use across the North American book industry survey
Results from the AI use across the North American book industry survey

This report shares insights into the adoption of AI, applications of the technology, perception of value, interest in training, areas of concern, and more.

Read More →
Thema: The missing half to your subject classification strategy
Thema: The missing half to your subject classification strategy

Why and how should you use Thema? Here’s a series of resources that will help you understand its capabilities and help you get started in implementing it!

Read More →
The nuances of online book marketing in 2026
The nuances of online book marketing in 2026

Ariel Hudnall, managing director of Serif, shares key insights into developing digital marketing strategies for the publishing industry.

Read More →
Canadian Independent Bookstore Day 2026
Canadian Independent Bookstore Day 2026

Celebrate Canadian independent bookstores on April 25!

Read More →
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 →

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 478
  • Ebooks 304
  • Tech Forum 278
  • Conferences & Events 262
  • Standards & Metadata 249
  • Bookselling 221
  • Publishing 199
  • ONIX 193
  • Marketing 153
  • Podcasts 127
  • ebookcraft 112
  • BookNet News 106
  • Loan Stars 77
  • Libraries 67
  • BiblioShare 59
  • 5 Questions With 53
  • SalesData 51
  • 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.