+ 1
How to use loops( for, while ) in html,
I just tried to make a loop inside my web page but, the code i run was not correct, I just want, how to use the for loop and while loop in HTML. Syntax with example..
9 Respostas
+ 6
Sunny Kumar use javascript ,and by the way you could have google a bit to find yourself if html supports loop or not or what type of language html is.
Javascript will let you use loops and also lets you manipulate dom i.e.html document.
+ 5
You can't ,html doesn't understands loop.
+ 2
Sunny Kumar
HTML is not a programming language. So you can't use loop.
What is your problem?
+ 2
Stefan [less active] thanks buddy đ
+ 1
So what can I do in this case, anything else ...
0
Sunny Kumar as I Am AJ ! said, use JavaScript instead. HTML is not a programming language so it doesn't understand programming concepts (i.e loops, conditions, ...). You may use JavaScript instead as I said above.
âïžâïž There is no way to write loops in HTML. You should understand that!
Thx.
0
HTML - - Markup Language....
Loops in programming languages
----- I Am AJ !