Explain the XHTML syntax rules.Some Syntax rules that need to be followed with XHTML are:
1. The attribute names must be in lower case, their values must be in quotes and their minimization is done away from usage.
2. The 'name' attribute has been replaced by the ‘id’ attribute. The XHTML DTD defines mandatory elements.
3. Must write a <!DOCTYPE> declaration at the start of the XHTML document.
4. All the tags close properly.
|