Courses
Tutorials
Interview Prep
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.4K+ articles
Python
19.6K+ articles
Experiences
15.8K+ articles
Interview Experiences
14.5K+ articles
School Learning
11.1K+ articles
JavaScript
9.9K+ articles
Java
9.4K+ articles
Misc
7.7K+ articles
Mathematics
5.7K+ articles
PUG View Engine
21 posts
Recent Articles
Elements in Pug View Engine
Last Updated: 23 July 2025
Pug is a template engine that works with JavaScript libraries and frameworks. It simplifies the process of writing HTML by reducing traditional HTML syntax. It uses indent...
read more
Web Technologies
Picked
Node.js
PUG View Engine
View Engine
What is includes in Pug View Engine ?
Last Updated: 23 July 2025
In Pug, "includes" are a way to modularize and reuse code by importing separate Pug files into a main Pug file. This helps in organizing code more efficiently and reduces ...
read more
Picked
HTML
PUG View Engine
Conditionals in Pug View Engine
Last Updated: 23 July 2025
Pug supports JavaScript natively, hence using JavaScript expressions, we can format HTML code. This approach allows us to reuse static web pages which have dynamic data. A...
read more
Web Technologies
Picked
Node.js
PUG View Engine
View Engine
How to use Attributes in Pug ?
Last Updated: 23 July 2025
Pug is a template engine for NodeJS and browsers to render dynamic reusable content. At compile time, the template engine compiles our Pug template code to HTML. Pug has m...
read more
Web Technologies
Picked
Node.js
PUG View Engine
View Engine
Comments in Pug View Engine
Last Updated: 23 July 2025
Pug is a template engine for NodeJS and browsers to render dynamic reusable content. At compile time, the template engine compiles our Pug template code to HTML. Pug has m...
read more
Web Technologies
Picked
Node.js
PUG View Engine
View Engine
Template Inheritance: Extend and Block in Pug
Last Updated: 14 March 2024
While creating websites or different web applications, we can first create a base HTML template, and build different pages on top of the base template. This concept of usi...
read more
Web Technologies
Picked
Node.js
PUG View Engine
View Engine
Pug View Engine - Iteration
Last Updated: 23 July 2025
Pug is a template engine for NodeJS and browsers to render dynamic reusable content. At compile time, the template engine compiles our Pug template code to HTML. Pug has m...
read more
Web Technologies
Picked
Node.js
PUG View Engine
View Engine
How to pass a Node.js variable to the inside of a Pug script tag ?
Last Updated: 23 July 2025
In Node.js with Pug, we can pass the variables to the Pug template engine using the res.render method. To make the variable available inside the Pug script tag, we include...
read more
Web Technologies
Picked
Node.js
PUG View Engine
View Engine
Plain Text in Pug View Engine
Last Updated: 13 March 2024
Plain text in Pug can be retrieved via a variety of methods, each with its own syntax and advantages. This article will go over many strategies for achieving plain text ou...
read more
Web Technologies
Picked
Node.js
PUG View Engine
View Engine
Tags in Pug View Engine
Last Updated: 23 July 2025
Tags play a crucial role in Pug templates, allowing developers to create structured and dynamic HTML content. Let's explore the concept of tags in Pug in detail.Table of C...
read more
Web Technologies
Picked
Node.js
PUG View Engine
View Engine
Paragraphs in Pug View Engine
Last Updated: 23 July 2025
Pug is a template engine for NodeJS and browsers, enabling dynamic content rendering. It compiles templates to HTML, supports JavaScript expressions for formatting, and fa...
read more
Web Technologies
Picked
Node.js
PUG View Engine
View Engine
How to create Tables in Pug View Engine ?
Last Updated: 23 July 2025
Pug is a template engine for NodeJS and browsers, enabling dynamic content rendering. It compiles templates to HTML, supports JavaScript expressions for formatting, and fa...
read more
Web Technologies
Picked
Node.js
PUG View Engine
View Engine
How to create Lists in Pug View Engine ?
Last Updated: 23 July 2025
Pug is a template engine for NodeJS and browsers to render dynamic reusable content. At compile time, the template engine compiles our Pug template code to HTML. Pug has m...
read more
Web Technologies
Picked
Node.js
PUG View Engine
View Engine
Headings in Pug View Engine
Last Updated: 28 April 2025
Pug.js is a template engine for Node.js and browsers to render dynamic reusable content. At compile time, the template engine compiles our Pug template code to HTML. Pug h...
read more
Web Technologies
Picked
Node.js
PUG View Engine
View Engine
Using Mixins with Pug View Engine
Last Updated: 23 July 2025
Pug is a template/view engine that works with JavaScript libraries and frameworks. It simplifies the process of writing HTML by reducing traditional HTML syntax. Among all...
read more
Web Technologies
Picked
Node.js
PUG View Engine
View Engine
1
2