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 Question
HTML Developer Interview Question

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 QuestionNext Question
Tell me what is a marquee?Tell me what is the use of Canvas element?