HTML CSS examples for HTML Tag:html
The xmlns attribute specifies the xml namespace for a document.
The xmlns attribute is required in XHTML, invalid in HTML 4.01, and optional in HTML5.
Value | Description |
---|---|
http://www.w3.org/1999/xhtml | The namespace to use (for XHTML documents) |
A simple XHTML document, with the minimum of required tags:
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Title of the document</title> </head><!--from w w w .j a v a 2 s. com--> <body> The content of the document...... </body> </html>