HTML Developer Question: Download Questions PDF
Explain me what is the hierarchy that is being followed when it comes to style sheets?
![HTML Developer Interview Answer HTML Developer Interview Question](https://globalguideline.com/public/images/interview/18.png)
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.
Download HTML Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Tell me what is a marquee? | Tell me what is the use of Canvas element? |