Using Just createElement()

const box = document.createElement("div");
box.id = "box";
document.body.appendChild(box);
const button = document.createElement('button');
button.innerText = 'Button';
button.id = 'button-1';
box.appendChild(button);

Object.Assign()

document.body.appendChild(
  Object.assign(
    document.createElement('div'),
    { id : 'box'}
  )
)
document.body
  .appendChild(
  Object.assign(
    document.createElement('div'),
    { id:'box'}
  )
).appendChild(
  Object.assign(
    document.createElement('button'),
    { innerHTML : 'button' ,
      id:'button-1'
    }
  )
)

ES 6 Backticks

const box = `
  <div id='box'>
    <button id='button-1'>Button</button>
  </div>`;document.body.innerHTML = box;