What is an HTML preprocessor .    | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula gr√°tis
+ 1

What is an HTML preprocessor .   

Is anyone using it..please replyūüôā

29th Nov 2020, 10:00 AM
Umar Ahamed
Umar Ahamed - avatar
1 Resposta
+ 8
It's also called a template engine. It is an engine that transform domain specific code to HTML markup. For example, Twig or Jade. {# This is Twig invented by Sensio labs #} {% for user in users %} <div> {{ user.name }} </div> {% endfor %} Fun fact: Twig is written in PHP. PHP was originally created as a HTML preprocessor written in C.
29th Nov 2020, 10:12 AM
Ore - avatar