</div>
<script>
var arr = [
["hello", "word", "helloword"],
["css", "js"],
["ios", "android", "wp", "mac", "windows"],
];
$.each(arr, function(index, item) {
$(".box").append(`<h6 class="h6"></h6>`);
$.each(item, function(index1, items) {
$(".h6").append(`<p><span>${index}----------</span>${items}---------<i>${index1}</i></p>`);
})
})
</script>