+ 2
Can we loops in html
2 Answers
+ 38
No:
since html isn't a programming language:
unless you're looking to display/include a loop code in your html document,
in that case you can use the <code> tag.
+ 3
The <code> tag is used to display code kind contents... not to do code inside html...
The only way to do loops << in html >> is to do them with JS code, embeded in <script> tag element (or linked ffrom an external file)...