loops - How do i nest div elements in HTML? -


is there possibility code loop in html nest div elements in way(the child elements interesting ones):

<div class="parent">   <div class="child">     <div class="child">       <div class="child">... 

i don't know main language of project, simple solution comes mi mind , think works doing this:

<div class="parent">     <% simple statement in main languaje %>         <div class="child">     <% end %>      <% same simple statement in main languaje %>         </div>     <% end %> </div> 

Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -