XML Syntax

Domain Hosting image
Web Hosting
Dedicated server
ssl certificate
Web Design image
Email
XML and HTML have similarities in syntaxes since they belong to the same parent language. In XML the opening and closing tags for every element are a must, unlike in HTML. Although it is necessary to close every element in XML it provides a short cut for empty elements namely the empty element tag. The empty element tag combines the opening and closing tags for elements with no content. The syntax for declaring an empty element is:
<p align="justify">
<ELEMENTNAME/>
<p align="justify">
The forward slash is placed at the end of the element name in an empty element declaration.
Attributes are values that are not part of the element content. Attribute values describe the characteristics of an element and declared as part of an element's opening tag. The syntax for declaring an attribute is as follows:
<p align="justify">
<ELEMENT ATTRIBUTENAME = "ATTRIBUTEVALUE">
<bt>
ATTRIBUTENAME:Describes the name of the attribute.<br>

ATTRIBUTEVALUE:Contains the actual value of the attribute.



Domain Name Search

www.


Copyright (C) 2007. Web Domain design hosting. All rights reserved.