Full width home advertisement

How To

Science

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.

Example

<!DOCTYPE html>

<html lang="en">

<head>

<title>English Language Page</title>

</head>

<body>

This page is using English Language

</body>

</html>

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]

| Designed by Colorlib