The type read-only property of the HTMLFieldSetElement interface returns the string 'fieldset'.
type
'fieldset'
MDN Reference