Class Html1
Located at easycore/Ehex.php
public static
|
|
public static
|
|
public static
array
|
#
extractTagAndAttribute( string $htmlContent, string|array $tag = 'div', string $openBracket = '<', string $closeBracket = '>', boolean $selfClosingTagList = null, boolean $return_the_entire_tag = false, string $charset = 'ISO-8859-1' )
extract_tags() Extract specific HTML tags and their attributes from a string. |
public static
|
#
setTagAttribute( $htmlContent = '<a href="https://www.xamtax.com" class="cw-link" title="xamtax">Visit xamtax</a>', $tagName = 'a', $attribute = 'style="color:red"' )
|