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) title B) text C) description D) alt 2 / 5 B) Which attribute is used to provide a unique identifier to an HTML element? A) id B) class C) name D) key 3 / 5 C) Which attribute is used in the <a> tag to specify the link destination? A) src B) href C) link D) url 4 / 5 D) What is an HTML attribute? A) A closing tag B) Additional information about an element C) A value that defines the structure D) A type of HTML element 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