Instruction: Describe the method to apply multiple styles directly within an HTML tag.
Context: This question tests the candidate's knowledge of inline CSS and the syntax for applying multiple styles within a single line.
Official answer available
Preview the opening of the answer, then unlock the full walkthrough.
To begin, you initiate the style attribute within the opening tag of the element you wish to style. Following the style attribute, you introduce the CSS properties and their values, separated by a colon. To apply multiple styles, you separate each property-value pair with a semicolon. For example, if we wanted to style a paragraph with a font size of 14px and a color of blue, our HTML tag would...