span

Purpose

Inline element used to set a style.

Contained by

Attribute groups

Example

<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/2002/06/xhtml2">
  <head>
    <title>span</title>
  </head>
  <body>
    <p>The <span class="code">span</span> element applies style to inline content.</p>
  </body>
</html>

Related topics