Home >Web Front-end >CSS Tutorial >Can Multiple Classes Be Assigned to a Single HTML Element?
Question: Can multiple classes be assigned to a single HTML container? For instance:
<article>
Answer: Yes, multiple classes can be assigned by simply removing the comma. The correct syntax is:
<article>
The above is the detailed content of Can Multiple Classes Be Assigned to a Single HTML Element?. For more information, please follow other related articles on the PHP Chinese website!