June 2013
Intermediate to advanced
236 pages
4h 33m
English
HTML tags are created by the mere mention of their names in the view file. If you would like to include any text within a tag, include it right after the tag name.
The way tags work in Jade is best understood by looking at these examples:
|
Jade |
HTML |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
It is important to note that it is your responsibility to use valid HTML tag names, Jade will just create an element—valid or not.
In HTML, we create hierarchical DOM elements by nesting elements within other elements with the use of opening and closing tags. In Jade, we create hierarchy ...
Read now
Unlock full access