//Id lisamiseks panen otsa trellid #id
//Klassi lisamiseks panen otsa punkti .class
h1#PageTitle PUG Template Engine Try-out
p.intro.
//Atribuudid panen sulgudesse
//Saan luua ka eraldis massiivi ning paigutada selle väärtused klassi
form(action="post")
input(type="text")
-const classes = ['class-1 class-2, -class-3']
div(class=classes)
- const myAttributes = { "src":"myphoto.png", "alt": "this is my photo"
}
img&attributes(myAttributes)