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

Short Answer
Views 1837

Answer:

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.

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of HTML 5, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.