✏️ Explanatory Question

What is the hierarchy that is being followed when it comes to style sheets?

👁 1,904 Views
📘 Detailed Answer
💡

Answer with Explanation

If a single selector includes three different style definitions, the definition that is closest to the actual tag takes precedence. Inline style takes priority over embedded style sheets, which takes priority over external style sheets.