The id property of the Element interface reflects the element's id content attribute.
id
MDN Reference