Codex tools: Log in
Languages: English • 日本語 • Português do Brasil • (Add your language)
Contents |
Display the language attributes for the <html> tag.
Builds up a set of html attributes containing the text direction and language information for the page.
<?php language_attributes( $doctype ) ?>
<!DOCTYPE html> <html <?php language_attributes(); ?>> <head> ...
(from wp-content/themes/twentyten/header.php)
Since: 2.1.0
language_attributes() is located in wp-includes/general-template.php.