+ 2

Can we loops in html

8th Jul 2017, 4:56 PM
swapnil
swapnil - avatar
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.
8th Jul 2017, 4:59 PM
<^>washika D<^>
<^>washika D<^> - avatar
+ 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)...
8th Jul 2017, 6:15 PM
visph
visph - avatar