- XHTML requires that all tags should be in lowercase
- XHTML requires that all tags should be closed properly
- XHTML requires that all attributes are enclosed in double quotes
- XHTML forbids inline elements from containing block level elements
Explain what is DTD (Document Type Declaration)? Mention what is the difference between CDATA and PCDATA in DTD?
A DTD means Document Type Definition (DTD) which defines the structure, legal elements and attributes of an XML document. PCDATA: A PCDATA is a Parsed Character Data. XML parsers usually parse all the text in an XML document. CDATA: While CDATA is an Unparsed Character Data, the term CDATA is used about text data that […]
Long polling is a web application development pattern used to emulate pushing data from the server to the client. When the long polling is used, the client sends a request to the server, and the connection remains intact until the server is ready to send data to the client. The connection will be closed only […]