How To Add Attributes To Images In Markdown

How can you add attributes to your images in Markdown? How can you set properties like width and height? Setting dimensions on images is a requirement if you want your images to be responsive.