mozilla

Revision 57624 of class

  • Revision slug: SVG/Attribute/class
  • Revision title: class
  • Revision id: 57624
  • Created:
  • Creator: Sheppy
  • Is current revision? No
  • Comment new page; wip; page created, 76 words added

Revision Content

« SVG Attribute reference home

Assigns a class name or set of class names to an element. You may assign the same class name or names to any number of elements. If you specify multiple class names, they must be separated by whitespace characters.

Usage context

Categories None
Value <coordinate>
Animatable Yes
Normative document SVG 1.1 (2nd Edition): The class attribute

{{ page("/en/SVG/Content_type","Coordinate") }}

Example

Elements

The following elements can use the class attribute:

Revision Source

<p>« <a href="/en/SVG/Attribute" title="en/SVG/Attribute">SVG Attribute reference home</a></p>
<p>Assigns a class name or set of class names to an element. You may assign the same class name or names to any number of elements. If you specify multiple class names, they must be separated by whitespace characters.</p>
<h2>Usage context</h2>
<table class="standard-table"> <tbody> <tr> <th scope="row">Categories</th> <td>None</td> </tr> <tr> <th scope="row">Value</th> <td><a href="/en/SVG/Content_type#Coordinate" title="https://developer.mozilla.org/en/SVG/Content_type#Coordinate">&lt;coordinate&gt;</a></td> </tr> <tr> <th scope="row">Animatable</th> <td>Yes</td> </tr> <tr> <th scope="row">Normative document</th> <td><a class="external" href="http://www.w3.org/TR/SVG/styling.html#ClassAttribute" title="http://www.w3.org/TR/SVG/styling.html#ClassAttribute">SVG 1.1 (2nd Edition): The class attribute</a></td> </tr> </tbody>
</table>
<p>{{ page("/en/SVG/Content_type","Coordinate") }}</p>
<h2>Example</h2>
<h2>Elements</h2>
<p>The following elements can use the <code>class</code> attribute:</p>
Revert to this revision