Peter's Pages Peter's Pages
The element command sets a variable to the tag name for the current element in the HTML page. So the script lines:
next B
element TagName
log TagName
would log
B
to the console.