An Entity of Type: military unit, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org

In web page design, and generally for all markup languages such as SGML, HTML, and XML, a well-formed element is one that is either a) opened and subsequently closed, or b) an empty element, which in that case must be terminated; and in either case which is properly nested so that it does not overlap with other elements. For example, in HTML: '''word''' is a well-formed element, while <i><b>word</b></i> is not, since the bold element <b></b> is not closed. In a well-formed document, Normal emphasized strong emphasized strong Normal ''emphasized '''strong emphasized''''' '''strong''' * v * t * e

Property Value
dbo:abstract
  • In web page design, and generally for all markup languages such as SGML, HTML, and XML, a well-formed element is one that is either a) opened and subsequently closed, or b) an empty element, which in that case must be terminated; and in either case which is properly nested so that it does not overlap with other elements. For example, in HTML: '''word''' is a well-formed element, while <i><b>word</b></i> is not, since the bold element <b></b> is not closed. In XHTML, and XML, empty elements (elements that inherently have no content) are terminated by putting a slash at the end of the "opening" (only) tag, e.g. <img>, <br>, , etc. In HTML 4.01 and earlier, no slash is added to terminate the element. HTML5 does not require one, but it is often added for compatibility with XHTML and XML processing. In a well-formed document, * all elements are well-formed, and * a single element, known as the root element, contains all of the other elements in the document. For example, the code below is not well-formed HTML, because the <a href="/wiki/Html_element#General_phrase_elements" class="mw-redirect" title="Html element">em</a> and <a href="/wiki/Html_element#General_phrase_elements" class="mw-redirect" title="Html element">strong</a> elements overlap: Normal emphasized strong emphasized strong Normal ''emphasized '''strong emphasized''''' '''strong''' Alternatively ''emphasized'' '''''strong emphasized'' strong''' In XML, the phrase well-formed document is often used to describe a text that follows all the syntactic rules as well-formedness rules in the XML specification: strictly speaking the phrase is tautological, since a text that does not follow these rules is not an XML document. The rules for well-formed XML documents go beyond the general requirements for the markup languages mentioned above. The additional rules include, for example, a rule to quote attribute values, case-sensitiveness of tag names, rules about the characters that can appear in names and elsewhere, the syntax of comments, processing instructions, entity references, and CDATA sections, and many other similar details. Sometimes the adjective well-formed is used to contrast with valid: a valid XML document is one that is not only well-formed, but also conforms to the grammar defined in its own DTD (Document Type Definition). * v * t * e (en)
dbo:wikiPageID
  • 405317 (xsd:integer)
dbo:wikiPageLength
  • 2906 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 1101307387 (xsd:integer)
dbo:wikiPageWikiLink
dbp:wikiPageUsesTemplate
dcterms:subject
gold:hypernym
rdf:type
rdfs:comment
  • In web page design, and generally for all markup languages such as SGML, HTML, and XML, a well-formed element is one that is either a) opened and subsequently closed, or b) an empty element, which in that case must be terminated; and in either case which is properly nested so that it does not overlap with other elements. For example, in HTML: '''word''' is a well-formed element, while <i><b>word</b></i> is not, since the bold element <b></b> is not closed. In a well-formed document, Normal emphasized strong emphasized strong Normal ''emphasized '''strong emphasized''''' '''strong''' * v * t * e (en)
rdfs:label
  • Well-formed element (en)
owl:sameAs
prov:wasDerivedFrom
foaf:isPrimaryTopicOf
is dbo:wikiPageDisambiguates of
is dbo:wikiPageRedirects of
is dbo:wikiPageWikiLink of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License