org.w3c.dom.html2

Interface HTMLTitleElement

All Superinterfaces:
Element, HTMLElement

public interface HTMLTitleElement
extends HTMLElement

The document title. See the TITLE element definition in HTML 4.01.

See also the Document Object Model (DOM) Level 2 HTML Specification.

Method Summary

String
getText()
The specified title as a string.
void
setText(String text)
The specified title as a string.

Methods inherited from interface org.w3c.dom.html2.HTMLElement

getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle

Method Details

getText

public String getText()
The specified title as a string.

setText

public void setText(String text)
The specified title as a string.