W3cubDocs

/OpenJDK 21

Interface HTMLMetaElement

All Superinterfaces:
Element, HTMLElement, Node
public interface HTMLMetaElement extends HTMLElement
This contains generic meta-information about the document. See the META element definition in HTML 4.0.

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

Since:
1.4, DOM Level 2

Field Summary

Method Summary

Modifier and Type Method Description
String getContent()
Associated information.
String getHttpEquiv()
HTTP response header name.
String getName()
Meta information name.
String getScheme()
Select form of content.
void setContent(String content)
void setHttpEquiv(String httpEquiv)
void setName(String name)
void setScheme(String scheme)

Methods declared in interface org.w3c.dom.html.HTMLElement

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

Method Details

getContent

String getContent()
Associated information. See the content attribute definition in HTML 4.0.

setContent

void setContent(String content)

getHttpEquiv

String getHttpEquiv()
HTTP response header name. See the http-equiv attribute definition in HTML 4.0.

setHttpEquiv

void setHttpEquiv(String httpEquiv)

getName

String getName()
Meta information name. See the name attribute definition in HTML 4.0.

setName

void setName(String name)

getScheme

String getScheme()
Select form of content. See the scheme attribute definition in HTML 4.0.

setScheme

void setScheme(String scheme)

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/jdk.xml.dom/org/w3c/dom/html/HTMLMetaElement.html