In CSS, the colon separates syntax, and the semicolon denotes that that particular styling is over. For example: position : relative ; The statement above is saying that you want the CSS to be looking at the position attribute, and you want it to be of a relative nature. IsRead More →

Because semicolons can be used to connect related independent clauses, they are often interchangeable with periods. That said, semicolons are not interchangeable with periods when used in a list: … Since items in a list are not independent clauses, they cannot be separated by periods. Why use a semicolon insteadRead More →