Full width home advertisement

Welcome Home

Post Page Advertisement [Top]

The lang attribute permits you to specify the main language 
used in a document.

This attribute was kept in HTML only for backwards compatibility with earlier versions of HTML. It has been substituted by the xml:lang attribute in new XHTML documents.


<!DOCTYPE html>

<html lang="en">


<title>English Language Page</title>



This page is using English Language



The xml:lang Attribute

The xml:lang attribute is the XHTML substitution for the lang attribute. The value of the xml:lang attribute should be an ISO-639 country code.

No comments:

Post a Comment

Bottom Ad [Post Page]