plainJS

Archive

Tag: html

  1. Append or prepend to an element$.append(), $.appendTo(), $.prepend(), $.prependTo()
  2. Get and set the HTML content of an element$.html()
  3. Get the text content of an element$.text()
  4. Insert an element after or before another$.after(), $.before(), $.insertAfter(), $.insertBefore
  5. Wrap an HTML structure around an element$.wrap(), $.wrapAll()