+ 13

Instead of repeating <p> tag for several lines , possible to us some looping in html?

21st Dec 2017, 4:10 PM
Nilavarasan
Nilavarasan  - avatar
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 :)
21st Dec 2017, 4:15 PM
James16
James16 - avatar
+ 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.
21st Dec 2017, 8:32 PM
Glenn McGrew II
Glenn McGrew II - avatar
+ 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
23rd Dec 2017, 11:16 PM
Daniel David Díaz González
Daniel David Díaz González - avatar