beforeEnd
Beforeend is a positional keyword used in the Web DOM insertion APIs to specify where to insert new content inside an element. It appears as one of several options in the insertAdjacent APIs and related methods.
It is one of four position values that can be supplied to methods such as Element.insertAdjacentHTML, Element.insertAdjacentText,
Understanding its relation to other positions helps with placement: 'beforebegin' inserts content immediately before the element
In typical use, calling insertAdjacentHTML('beforeend', '<span>New</span>') will append the specified HTML as the last child of
Compatibility is broad across modern browsers, including Chrome, Firefox, Safari, and Edge, with support dating to