Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 670 Bytes

19.what-is-a-HTML-preprocessor.md

File metadata and controls

36 lines (27 loc) · 670 Bytes

19. What is an HTML preprocessor and are you using it?

HTML Preprocessor

HTML Preprocessor helps us to write HTML code faster with less code.

Some Preprocessors are:

Example: index.jade

!!! 5
html
  head
    title= HelloWorld
  body
    h1 Using Jade to create HelloWorld web page

Compiled file: index.html

<!DOCTYPE html>
<html>
  <head>
    <title>HelloWorld</title>
  <body>
    <h1>Using Jade to create HelloWorld web page</h1>
  </body>
</html>

More information on Jade.