If you use an attribute that's invalid for a specific element, a bad attribute error occurs. This could occur if the namespace was omitted or if the attribute can't modify the element to which it’s applied. To resolve the issue, replace the invalid attribute with one that is supported by the element.
iBooks: Attribute errors
Attributes add information or modify an HTML element's properties or contents. You can enter attributes within the tag of an element after the element's name. Attribute names are followed by "=" and a corresponding value (such as alt="three bears peer at goldie locks”). In this example, img is the element and src and alt are its attributes:

- The src attribute defines the URL of the image that you want to embed in the HTML page.
- The alt attribute defines the alternative text for accessibility.
While you can use standard attributes with most HTML elements, you can use only some attributes to modify specific elements. If there are issues with your elements, you might run into these errors upon delivery.
Last Modified: