![]() |
VOOZH | about |
The TokenList.remove() Method in HTML DOM is used to remove the particular nodes or tokens from a NodeList. It is an in-built method of TokenList Object.
Syntax:
remove(token); remove(token, token); remove(token, token, token); ...
Parameter Values: It contains a string value that represents the name of the token that you want to remove from the Token List.
Return Value: This method does not return any value.
Example: Below HTML code illustrates the use of the token list. remove() Method in HTML DOM.
Output: