This is a list of classes h-raster specification.
An element with the raster class is the top-most element of this microformat. If the image is standalone, this class goes on the HTML document's body element. Otherwise the image is inline and goes on a different element, probably div because everything goes on divs.
An element with the raster class MUST have only the following:
An element with the row class represents a row in a raster image. Rows are ordered sequentially from top-to-bottom.
An element with the e-row class MUST have only the following:
An element with the 'p-pixel' class represents a pixel in a raster image.
The pixels are arranged in the same order as the current text direction. If the current text direction is LTR, then the pixels are also arranged left-to-right. If the current text direction is RTL, then the pixels are also arranged right-to-left. If the direction of the image differs from the current text direction, the 'dir' attribute may be used, using the normal rules of html.
The innerText of the element with the p-pixel class is the color of the pixel. A css hex string is allowed, but the text contents SHOULD be a color name, such as "yellow" or "red". This ensures that the data is accessible and degrades gracefully; since the pixel data is displayed in the innerText, screen readers will read the contents of each pixel and allow readers to hear the contents of the image.
An element with the 'pixel' class MUST contain only text data.