# EPUBCheck HTM_062: SVG xlink:href attribute is deprecated…

Source: https://epublab.com/epubcheck/htm_062/ (updated 2026-11-03)

EPUBCheck HTM_062 is a usage message: “SVG "xlink:href" attribute is deprecated; an "href" attribute should be used instead.” An SVG element uses xlink:href, which is deprecated; plain href should be used instead.

- Official message (EPUBCheck 5.4.0): SVG "xlink:href" attribute is deprecated; an "href" attribute should be used instead.
- Default severity: Usage

## Typical causes

- SVG produced by older editors.

## How to fix it

- Replace xlink:href with href, or keep both with the same value for older readers.

Message text and severity: EPUBCheck (W3C, BSD-3-Clause). Explanation: EPUBLab.
