htmlcssmeta-tags

What does http-equiv default-style do?


What does meta http-equiv=default-style do? Should I prefer this meta tag to the the default link rel=stylesheet?


Solution

  • In HTML, we could change the stylesheet we're using. But the http-equiv=default-style of the meta tag says that the value of the "content" attribute written in the same meta tag is the default stylesheet to use.

    Read:

    1. MDN's explanation
    2. W3School's explanation
    3. GFG's explanation