MusicXML 4.1 Draft
MusicXML 4.1 Draft > MusicXML Reference > Elements > The <fret> element

The <fret> element

Parent elements: <frame-note><technical>

The <fret> element is used with tablature notation and chord diagrams. Fret numbers start with 0 for an open string and 1 for the first fret.

Content

xs:nonNegativeInteger

Attributes

Name Type Required?(Default) Description
color color No Indicates the color of an element.
Indicates the color of an element.
font-family font-family No A comma-separated list of font names.
A comma-separated list of font names.
font-size font-size No One of the CSS sizes or a numeric point size.
One of the CSS sizes or a numeric point size.
font-style font-style No Normal or italic style.
Normal or italic style.
font-weight font-weight No Normal or bold weight.
Normal or bold weight.

Examples

This element is used in the following examples:

<barre><bend><fingering> (Frame)<fret> (Frame)<pluck><pre-bend><release><tap><technical> (Tablature)Tutorial: Chord SymbolsTutorial: Tablature