[XHTML TUTORALIAL] Trend XHTML Standard (3) (Differences Between XHTML and HTML)

xiaoxiao2021-03-06  41

Original address: http://www.w3schools.com/xhtml/xhtml_html.asp Translation: Fan Wei Xiao You Can Prepare yourself for xhtml by Starting to Write Strict HTML. You can start writing strict HTML code to your XHML road Prepare how to get ready for XHTML starts XHTML? XHTML IS The Next Generation of HTML, But It Will of Course Take SOME TIME BROWSERS AND OTHER SOFTWARE PRODUCTS Are Ready for it.xhtml is the next generation of words of HTML, of course, before the new browser and other related software products appear It will be delayed for a while. In the meantime there are some important things you can do to prepare yourself for it. As you will learn from this tutorial, XHTML is not very different from HTML 4.01, so bringing your code up to 4.01 standards is a very good start. Our complete HTML 4.01 Reference Can Help You With That. There are some important things you can do to prepare for it. Just like you can learn from this guide, XHTML is not a lot of differences with HTML4.01, so make your code rewritable 4.01 standard is a very good start, our complete HTML4.01 reference Help you solve this problem. In Addition, you's, and never make the bagercase letters, and never make the bag Habit of skipping end tags like the . Now you should start writing your HTML code with lowercase letters. And never have a bad habit of jumping like like as before.

Happy Coding! Encourage in the code! The Most Important Differences: The main difference between the two: XHTML elements must be properly nested XHTML documents must be well-formed Tag names must be in lowercase All XHTML elements must be closed XHTML elements must be properly nested XHTML documents must have a good The name of the format marker must be used in lowercase letters. Some markers are non-correct mutually nested, just like this: this text is bold and italic in xhtml all elements must be prot in,: in XHTML All markers must be properly nested, like this: this text is bold and italic NOTE: A Common Mistake In Nested Lists, is to forget That The Inside List Must be withn li element, like this: Note: Everyone often makes a mistake when the list is nested, that is, forgetting the new list of inserts must be in a

  • mark, like this
    • Coffee
    • tea
      • Black TEA
      • Green TEA
      • milk this is correct : Correct way
        • coffee
        • tea
          • Black TEA
          • Green TEA
          • Milk NO THAT WE HAVETED A Tag inster the tag in the "CORRECT" Code Example. In this correct code example, notice that we add one > Is marked? Documents Must Be Well-FORMED Document must format good all xhtml elements must be nested within the

            .. Root element All other elements can have sub (children) elements Sub elements must be in pairs and correctly nested within their parent element The basic document structure is:. All XHTML markup must be nested in the tag of the root in. All other tags have their own submarkers. Submissions located within the parent mark must also be paired and properly nested. The basic structure of a web page is this: ... ... Tag names Must Be in Lower Case tag must with lowercase letters this IS Because XHTML Documents Are XML Applications. Tags Like
            and
            Are Interpreted As Different Tags. This is because XHTML documents are XML applications, XML is sensitive, like
            And
            are considered to be two kinds of non-aired markers. This is Wroge: wrong:

            this is a paragraph this is correct: correct

            this is a paragraph all XHTML Elements Must Be Closed All XHTML tags must have a closed Non-Empty Elements Must Have an end tag. Non-empty tags must have a shutdown.

  • 转载请注明原文地址:https://www.9cbs.com/read-73011.html

    New Post(0)