如何用jquery创建多个元素?

var num = 8;
for (var i = 0; i < num; i++) {
$('ul').append('<li></li>');
};
原文地址:https://www.cnblogs.com/ghfjj/p/6676567.html