Question
What is the purpose of a semicolon in a CSS declaration?
Answer
The semicolon at the end of a CSS declaration (example: color: lightpink;
) tells the browser to end the execution of that particular statement and that a new statement (a CSS declaration in this case) can begin. The semicolon separates one CSS declaration from another.