1. HTML Attributes HTML elements can have attributes Attributes provide additional information about anelement Attributes are always specified in the start tag…