span

Purpose

Inline element that associates the content with a style or event.

Attribute groups

Example

The welcome.mlyt layout can be found in the MCS/repository/xml-repository directory.

<?xml version="1.0" encoding="UTF-8"?>
<canvas layoutName="/welcome.mlyt" pageTitle="span">
  <style type="text/css">
    .code {
      color:red;
    }
  </style>
  <pane name="background">
    <p>The <span class="code">span</span> element applies style
      to inline content.</p>
  </pane>
</canvas>

Related topics