--- source: https://www.w3.org/2021/06/musicxml40/tutorial/tablature/ downloaded: 2026-01-30T08:38:34.077Z --- # Tablature | MusicXML 4.0 MusicXML 4.0 > Tutorial > Tablature # Tablature Tablature notation provides a direct guideline to the strings and frets used to play music on a guitar or other fretted instrument, often at the expense of precise rhythmic information. In MusicXML, this rhythmic information needs to be specified, although the display is likely to be hidden on a tab part. The main things that need to be added are the fret and string information, the details of the how the strings are tuned, and techniques specific to guitars and other related instruments. ### Fret and String Here is a simple one-measure guitar part example that we will use to illustrate the basic MusicXML tablature features, using the standard 6-string guitar tuning: The fret and string information needed to generate tablature for guitar and other stringed instruments is handled the same way as technical indications for other instruments, such as piano fingerings and violin bowings. The element contains these types of notations, and two of its component elements represent the note's and . Frets are numbered starting at 0 for the open string. Strings are numbered starting at 1 for the highest string on the instrument. The fret and string for first note in this example are represented using: ```xml 3 5 ``` ### String Tuning An element may include a element to specify the details of a tab staff. The element specifies the number of lines on a tablature staff, usually one for each string. Staff tunings are described with the and elements. TAB is one of the values available for elements. The print-object attribute of the and