VOOZH about

URL: https://www.geeksforgeeks.org/html/html-dom-tokenlist-remove-method/

⇱ HTML DOM TokenList.remove() Method - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML DOM TokenList.remove() Method

Last Updated : 12 Apr, 2022

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: 

👁 Image
TokenList.remove() Method in HTML DOM
Comment
Article Tags: