Tag:HTML tag

  • Introduction of nesting rules for HTML tags


    XHTML has many tags: div, ul, li, dl, dt, dd, h1-h6, p, a, addressa, span, strong… When we use these tags to build page structure, we can nest them indefinitely. However, nesting also needs some rules. We can’t let our personal habits nest randomly. So, what are the nesting rules of HTML tags? 1. HTML […]