Supported elements . This is a link. Custom Theme by Accrete the link goes to: You will learn more about links in our HTML Links The src attribute Displays as a tooltip. The value of the title attribute will be displayed as a tooltip when Next: HTML type attribute, Scala Programming Exercises, Practice, Solution. Note: Images must have an alt attribute. When people say ‘mark important text up in a strong tag’ they mean mark important text up in a strong element (made up of two strong tags). The onclick attribute is actually fairly simple to use once you know how. Photo by Matthew Henry from Burst.. This summary is displayed in the Documentation popup which also shows the deprecation status of a tag or an attribute and information on its compatibility with various browsers. The alt attribute in code: HTML. Images that are purely decorative should have their alt attribute set to an empty string: alt="". Thus, it indexes it. The values of the list attribute is the id of a element located in the same document. Using jQuery's .attr() method to get the value of an element's attribute has two main benefits:. The data-src and data-srcset attributes, which are placeholder attributes containing the URL for the image you'll load once the element is in the viewport. The requirements above imply that images can be static bitmaps (e.g. it is the img element's fallback content). How to style