HTML - How to add an image with different attributes