Check out example codes for "jquery create html element". It will help you in understanding the concepts better.

Code Example 1

var newDiv = $('<div>My new div</div>');  //create Div Element w/ jquery
$( "#someOtherElement" ).append(newDiv); //append new div somewhere

Code Example 2

$("p").append(" <b>You can write your Text Here </b>.");

Code Example 3

$('<div>hello</div>').appendTo('#parent');

Learn ReactJs, React Native from akashmittal.com