THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

RSS <language> Element


RSS Reference Complete RSS Reference

Definition and Usage

The <language> element is used to specify the language used to write your RSS document.


Tips and Notes

Tip: The <language> element makes it possible for RSS aggregators to group sites based on language.

Tip: Look a the standard language-codes


Example

<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">

<channel>
  <title>W3Schools Home Page</title>
  <link>http://www.w3schools.com</link>
  <description>Free web building tutorials</description>
  <language>en-us</language>
  <item>
    <title>RSS Tutorial</title>
    <link>http://www.w3schools.com/xml/xml_rss.asp</link>
    <description>New RSS tutorial on W3Schools</description>
  </item>
</channel>

</rss>

Try it Yourself »

RSS Reference Complete RSS Reference