CSS Target-Name Property

CSS 1

CSS 2

CSS 3

No No Yes

Description

The 'target-name' property defines the name of the target destination, including a few keywords for well known destinations.

Syntax

target-name: [value]

Possible values

  • current
  • root
  • parent
  • new
  • modal
  • [string]

Initial Value

current

Applies To

Hyperlinks

Inherited

No

Media

Interactive Visual

Example

.class {
  target-name: parent;
}


View All CSS Properties