PHP Class WPDKHTMLTagA

Remeber to add this tag in WPDKHTMLTagName
Author: =undo= ([email protected])
Inheritance: extends WPDKHTMLTag
Show file 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 property

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

$coords public property

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

$href public property

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

$hreflang public property

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

$media public property

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

$name public property

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

$rel public property

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

$rev public property

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

$shape public property

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

$target public property

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

$type public property

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