| [ Web Proxy ] |
| Viewing: https://developer.mozilla.org/ru/docs/Web/API/Text | [Back] [Original] |
Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
This feature is well established and works across many devices and browser versions. Its been available across browsers since 2015 ..
* Some parts of this feature may have varying levels of support.
Text () Element Attr. , a single child (implementing) Text , . , , information items Text nodes , .
() Text node . , Text nodes, , . Node.normalize() Text a single node .
Text() Text node , .
Inherits properties from its parent, CharacterData.
Text.isElementContentWhitespace Boolean, , ( ) text node ().
Text.wholeText Text.assignedSlot Text , Slotable.
Text.replaceWholeText(with the specified text).
| Specification |
|---|
| DOM # interface-text |
This page was last modified on 27 . 2026 . by MDN contributors.
AbortControllerAbortSignalAbstractRangeAttrCDATASectionCharacterDataCommentCustomEventDOMErrorDOMExceptionDOMImplementationDOMParserDOMTokenListDocumentDocumentFragmentDocumentTypeElementEventEventTargetHTMLCollectionMutationObserverMutationRecordNamedNodeMapNodeNodeIteratorNodeListProcessingInstructionQuotaExceededErrorRangeShadowRootStaticRangeTreeWalkerXMLDocumentXPathEvaluatorXPathExpressionXPathResultXSLTProcessorYour blueprint for a better internet.
Portions of this content are 19982026 by individual mozilla.org contributors. Content available under a Creative Commons license.
| Web Proxy Viewer | New URL | Original Page |