HTML Developer Question: Download HTML Developer PDF
Explain me what is the hierarchy that is being followed when it comes to style sheets?
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.
Previous Question | Next Question |
Tell me what is a marquee? | Tell me what is the use of Canvas element? |