PHP Class WPDKHTMLTagA

Remeber to add this tag in WPDKHTMLTagName
Author: =undo= ([email protected])
Inheritance: extends WPDKHTMLTag
Datei anzeigen Open project: wpxtreme/wpdk

Public Properties

Property Type Description
$charset string Not supported in HTML5. Specifies the character-set of a linked document.
$coords string Not supported in HTML5. Specifies the coordinates of a link
$href string Specifies the URL of the page the link goes to.
$hreflang string Specifies the language of the linked document. Value language_code
$media string New in HTML5. Specifies what media/device the linked document is optimized for. Value media_query
$name string Not supported in HTML5. Specifies the name of an anchor
$rel string Available values are: alternate, author, bookmark, help, license, next, nofollow, noreferrer, prefetch, prev, search, tag
$rev string Not supported in HTML5. Specifies the relationship between the linked document and the current document
$shape string Not supported in HTML5. Specifies the shape of a link. Values: default, rect, circl,e poly
$target string Specifies where to open the linked document. Values: _blank, _self, _parent, _top or framename
$type string New in HTML 5. Specifies the MIME type of the linked document. Value MIME_type

Public Methods

Method Description
__construct ( string $content = '', string $href = '' ) Create an instance of WPDKHTMLTagA class

Method Details

__construct() public method

Create an instance of WPDKHTMLTagA class
public __construct ( string $content = '', string $href = '' )
$content string HTML inner (or adjacent) content
$href string The href attribute

Property Details

$charset public_oe property

Not supported in HTML5. Specifies the character-set of a linked document.
public string $charset
return string

$coords public_oe property

Not supported in HTML5. Specifies the coordinates of a link
public string $coords
return string

$href public_oe property

Specifies the URL of the page the link goes to.
public string $href
return string

$hreflang public_oe property

Specifies the language of the linked document. Value language_code
public string $hreflang
return string

$media public_oe property

New in HTML5. Specifies what media/device the linked document is optimized for. Value media_query
public string $media
return string

$name public_oe property

Not supported in HTML5. Specifies the name of an anchor
public string $name
return string

$rel public_oe property

Available values are: alternate, author, bookmark, help, license, next, nofollow, noreferrer, prefetch, prev, search, tag
public string $rel
return string

$rev public_oe property

Not supported in HTML5. Specifies the relationship between the linked document and the current document
public string $rev
return string

$shape public_oe property

Not supported in HTML5. Specifies the shape of a link. Values: default, rect, circl,e poly
public string $shape
return string

$target public_oe property

Specifies where to open the linked document. Values: _blank, _self, _parent, _top or framename
public string $target
return string

$type public_oe property

New in HTML 5. Specifies the MIME type of the linked document. Value MIME_type
public string $type
return string