Compartilhar via


title Element (WPL)

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The title element specifies a title for the playlist.

<head>
    <title>Dance Songs That I Haven't Played Recently</title>
</head>

Attributes

This element has no attributes.

Parent/Child Elements

Hierarchy Elements
Parent head
Child None

Remarks

When choosing a title for a Windows Media Playlist (WPL), consider that the content of the playlist can be dynamic. A good approach is to base the title on the logic in the argument elements because this is what defines the content of the playlist. Examples of this are "My Favorite Rock Songs from 1966" or "Dance Songs That I Haven't Played Recently".

Examples

<head>
    <title>Dance Songs That I Haven't Played Recently</title>
</head>

Requirements

Requirement Value
Version
Windows Media Player 9 Series or later.

See also

argument Element

head Element

Windows Media Playlist Elements Reference