You have an empty space after your src attribute declaration, it might cause your code to fail. The alt attribute purpose is to display some informative text, what your image is displaying, when the image itself could not be loaded, for whatever reason. So usually, if your image has a kitten, you might include alt="cute kitten". It is also informative for visually impaired users, which cannot see the image and rely on that text field. Alt attribute is not requirement, to display an image, but it is accepted as good practice.