minify property

minify property

The property enables HTML content and HTML resources minification.

Compression of the output content (HTML, CSS, and SVG) is one of the ways to optimize the HTML file. To do this, set this property to True.

For a code example, see the documentation.

Definition:

@property
def minify(self):
    ...
@minify.setter
def minify(self, value):
    ...

See Also