VOOZH about

URL: https://www.geeksforgeeks.org/html/svg-title-element/

⇱ SVG <title> Element - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

SVG <title> Element

Last Updated : 23 Jul, 2025

The <title> SVG element provides an accessible, short-text description of any SVG containerelement or graphicselement.

Text in an <title> element is not rendered as part of the graphic, but browsers usually display it as a tooltip. When you hover over the element, the title of that element will be shown.

Syntax:

<title> TITLE HERE </title>

Attributes:

  • core Attributes: These attributes are core attributes like id, etc.
  • styling Attributes: These attributes define styling, exp, class, style.

Example: Making green consecutive circles inheriting attributes from the <g> element.

Output:

👁 Image

Browsers Supported:

  • Google Chrome 1 and above
  • Edge 12 and above
  • Internet Explorer 9 and above
  • Firefox 1.5 and above
  • Apple Safari 3 and above
  • Opera 8 and above
Comment
Article Tags: