« Dom\HTMLDocument::saveXmlFile
Dom\Implementation »

Dom\HTMLElement クラス

(PHP 8 >= 8.4.0)

はじめに

HTML 名前空間内の要素を表します。

クラス概要

class Dom\HTMLElement extends Dom\Element {
/* 継承した定数 */
/* 継承したプロパティ */
public readonly ?string $namespaceURI;
public readonly ?string $prefix;
public readonly string $localName;
public readonly string $tagName;
public string $id;
public readonly Dom\TokenList $classList;
public readonly Dom\NamedNodeMap $attributes;
public readonly ?Dom\Element $lastElementChild;
public readonly int $childElementCount;
public readonly Dom\HTMLCollection $children;
public readonly int $nodeType;
public readonly string $nodeName;
public readonly string $baseURI;
public readonly bool $isConnected;
public readonly ?Dom\Document $ownerDocument;
public readonly ?Dom\Node $parentNode;
public readonly ?Dom\Element $parentElement;
public readonly Dom\NodeList $childNodes;
public readonly ?Dom\Node $firstChild;
public readonly ?Dom\Node $lastChild;
public readonly ?Dom\Node $previousSibling;
public readonly ?Dom\Node $nextSibling;
/* 継承したメソッド */
/* Not documented yet */
}

注意

注意:

DOM拡張モジュールは、メソッドやプロパティで UTF-8 エンコーディングを使います。 パースをおこなうメソッドは、エンコーディングを自動的に判別し、呼び出し側でエンコーディングを指定することもできます。

関連キーワード:
readonly   Node   Element   HTMLElement   継承   エンコーディング   プロパティ   HTMLDocument   saveXmlFile   Implementation   空間   概要   extends   定数   namespaceURI   prefix   localName   tagName   className   TokenList   classList   NamedNodeMap   attributes   firstElementChild   lastElementChild
関連する関数・ページ:
class.dom-element   class.dom-documentfragment   class.dom-entityreference   class.dom-xmldocument   class.dom-notation   class.dom-entity