Is XHTML Element Name Case Sensitive


  • 27 Jan, 2012

    Yes, XHTML element names are case sensitive. All element names must be written in lower case letters.Here are some valid and invalid XHTML element names:► <html> - Valid name.► <HTML> - Invalid name, must use lower case letters.► <xhtml> - Invalid name, not defined by XHTML specification.► <Body> - Invalid name, must use lower case letters.Note to HTML document authors: HTML element names are not case sensitive. But XHTML element names are case sensitive. If you are converting existing HTML documents to XHTML documents, you will get a lots of syntax errors about upper case letters used in HTML tags.

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.