Search code examples
htmlcssxhtmlw3csemantic-markup

Should we always consider how page will look without CSS?


If yes then presentational elements would be helpful in this condition so should we use those?

<b>…</b> , <i>…</i>, <big>…</big>, <small>…</small>, <tt>…</tt>, <hr />

These are valid tags


Solution

  • The page should be marked up semantically, not for its presentation. If you put proper semantic markup on elements, the browser will usually apply a basic style to them by itself. You should not be concerned with how the document looks unstyled. If it's unstyled, it has no style. CSS is responsible for the style. If a user chooses to view the document without style, let it be so.