Navigation
  • Home
  • Recent
  • Most Active
  • Popular
  • Blog
  • Credits
  • RSS
  •   Interaction
  • Register
  • Statistics
  •   Help
  • Suggestions
  • Contact Us
  • How to Edit
  • Help



  • [Edit]


    In web page design, and generally for all markup languages based on SGML, such as HTML, XML, a well-formed element is one that is either
      opened and subsequently closed,
      an empty element, which in that case must be terminated,
      properly nested so that it does not overlap.

    For example, in HTML: word is a well-formed element, while word is not, since the bold element is not closed. In XHTML, empty elements (elements that inherently have no content) should be closed by putting a slash at the end of the opening tag, e.g. ,
    ,
    , etc. In non-XHTML HTML, there is no closing tag for such elements, and no slash is added to the opening tag.

    Furthermore, if an element has any attributes, each attribute value must be properly quoted.

    In a well-formed document,

      all elements are well-formed, and
      a single element contains all of the other elements in the document.



        Well-formed element
     
    Search more:
     

       
    Source Privacy License Download Contact Us Atlas
    Scientus.org Dictionary (Yet Another Wiki) RC : 1.39
    MIT OpenCourseWare
    This article is licensed under the GNU Free Documentation License [copyleft]. It uses material from the Wikipedia article "Well-formed element". link