HTML Attributes Quiz Test Your HTML Skills: Beginner’s Quiz 1 / 5 A) Which attribute is used to display alternative text for an image? A) text B) description C) title D) alt 2 / 5 B) Which attribute is used to provide a unique identifier to an HTML element? A) class B) key C) name D) id 3 / 5 C) What is an HTML attribute? A) Additional information about an element B) A closing tag C) A value that defines the structure D) A type of HTML element 4 / 5 D) Which attribute is used in the <a> tag to specify the link destination? A) link B) src C) url D) href 5 / 5 E) Which attribute is used to apply inline CSS styles to an element? A) style B) design C) font D) css Your score isThe average score is 0% 0% Restart quiz Send feedback