HTML Tutorial

HTML Attributes

HTML attributes are extra information about the element in HTML and are placed within the opening tag’s angle bracket. These are not special on their own but they add other features to html elements. For instance, in an image tag “src” stands for source and `alt’ which means the text should be given if the image cannot be loaded all have an important role to play. Similarly, the anchor tag () has the href attribute to contain the URL of the link. They are placed in the opening tag and enable nasty control HTML elements and how they respond and appear on the webpage.

Try It Yourself