Compartir a través de


head Element

[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 head element contains metadata that applies to the entire playlist.

<head>
</head>

Attributes

This element has no attributes.

Parent/Child Elements

Hierarchy Elements
Parent smil
Child title, meta

Remarks

Typically the head element contains a title element and one or more meta elements that define global characteristics of the playlist.

Examples

<head>
    <title>Party Playlist</title>
    <meta name = "Author" CONTENT = "Frank Lee"/>
    <meta name = "Category" CONTENT = "Party Music"/>
    <meta name = "Genre" CONTENT = "Pop"/>
    <meta name = "UserName1" CONTENT = "Frank001"/>
    <meta name = "UserRating1" CONTENT = "82"/>
</head>

Requirements

Requirement Value
Version
Windows Media Player 9 Series or later.

See also

meta Element

title Element (WPL)

Windows Media Playlist Elements Reference