Image

class bootlace.image.Image(*, alt: str, src: str, width: int, height: int)[source]

Bases: object

An image tag

Attributes Summary

alt

Alt text for the image

height

The height of the image, in px

src

The URL for the image

width

The width of the image, in px

Methods Summary

__tag__()

Attributes Documentation

alt: str

Alt text for the image

height: int

The height of the image, in px

src: str

The URL for the image

width: int

The width of the image, in px

Methods Documentation

__tag__() html_tag[source]