+ 13
Instead of repeating <p> tag for several lines , possible to us some looping in html?
4 Réponses
+ 6
Unfortunately not, but you can write a lot of text in the <p> </ p> tag, the loop is only available in javascript! In standard markup this is not, and in the new one too :)
+ 4
Nope. HTML is a markup language providing the content and CSS is the appearance language, and neither offers behavioral commands. You must use JavaScript (or another language) to affect behavior, loop, etc.
+ 3
Hi, you can use JavaScript or the library jQuery in this case is very helpful and easy to use. There is a lot of documentation in the web. Merry Christmas