Fix issues with index

Attribute height and width aren't allowed on element div.
An img element must have an alt attribute.