Add doctype and alt to images