Home > Web Front-end > HTML Tutorial > Does html5 allow overlapping tags? _html/css_WEB-ITnose

Does html5 allow overlapping tags? _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:17:20
Original
1442 people have browsed it

For example

Article
  • auther

  • Reply to discussion (solution)

    No... It was not possible before, neither html nor xml was allowed

    For example,

    Article
  • auther
  • , if it can overlap, does the author text belong in h1 or not? It belongs in li

    Regardless of whether it is allowed or not, let’s write it according to the standard writing method


    HTML5 is not allowed in this aspect

    Writing this way is messy and obviously not allowed


    Is there any article or information about this? Thank you

    HTML10 will not allow writing like this. Just like ({...)} which browser do you think can understand

    . . . Even if we don’t say permission or disallowance, even if it is allowed, what’s the point? Who is the Father and who is the Son?

    No, html is a tag language, and all tags must be matched. If they are nested, how come html doesn’t know how to match them.

    Layout tags appear in pairs and cannot cross.

    source:php.cn
    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
    Popular Tutorials
    More>
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template