How can we create an image?
1)
img {
attrs["class"] = "myImage"
attrs["src"] = "https://example.com/image.png"
}
2)
img {
attributes["class"] = "myImage"
attributes["src"] = "https://example.com/image.png"
}
3)
img {
"class" = "myImage"
"src" = "https://example.com/image.png"
}
4)
img(classes = "myImage", src = "https://example.com/image.png") {
}
5)
img {
class: "myImage"
src: "https://example.com/image.png"
}