---
title: HTMLSpanElement
slug: Web/API/HTMLSpanElement
tags:
  - API
  - HTML DOM
  - Interface
  - Reference
browser-compat: api.HTMLSpanElement
---
{{APIRef("HTML DOM")}}

The **`HTMLSpanElement`** interface represents a {{HTMLElement("span")}} element and derives from the {{DOMxRef("HTMLElement")}} interface, but without implementing any additional properties or methods.

{{InheritanceDiagram}}

## Properties

_This interface has no properties, but inherits properties from: {{DOMxRef("HTMLElement")}}._

## Methods

_This interface has no methods, but inherits methods from: {{DOMxRef("HTMLElement")}}._

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- The HTML element implementing this interface: {{HTMLElement("span")}}.
