I am trying to create a table with images in first cell and information about the pic in second cell.
I need to add different information in one cell, like that:
The simplest way is by adding a line break as html
cellTwo.innerHTML = arr_title[element] + "" + arr_tags[element];
If you want your newlines to be treated literally, you could use the tag
cellTwo.innerHTML = "" + arr_title[element] + "\n" + arr_tags[element] + "";
" + arr_title[element] + "\n" + arr_tags[element] + "