<% name = "xiaye"%> //声明 <%= str %> //输出 <%for(var i=0; i<5; i++){%> <%}%> //for循环 <%-%>//非转义输出 <%include%>