Is XHTML Element Name Case Sensitive?
Submitted by: AdministratorYes, 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.
Submitted by: Administrator
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.
Submitted by: Administrator
Read Online XHTML Job Interview Questions And Answers
Top XHTML Questions
☺ | How To Enter Comments into XHTML Documents? |
☺ | What Is the Latest XHTML Specification? |
☺ | What Tools to Use to Write XHTML Documents? |
☺ | How To Close an XHTML Element? |
☺ | What Is the Relation between XHTML and HTML? |
Top Coding/Programming Categories
☺ | Python Interview Questions. |
☺ | OOP Interview Questions. |
☺ | Software engineering Interview Questions. |
☺ | PHP Interview Questions. |
☺ | VBA (Visual Basic for Applications) Interview Questions. |