html (Struts EL Tag library documentation)

Overview | Library | Tag | Help

| FRAMES NO FRAMES

## html
Tag html

Render an HTML `<html>` Element

Renders an HTML `<html>` element with language attributes extracted from the user's current Locale object, if there is one.

Tag Information
Tag Class | org.apache.strutsel.taglib.html.ELHtmlTag
TagExtraInfo Class | None
Body Content | JSP
Display Name | None

Attributes
Name | Required | Request-time | Type | Description

lang

false

true

`java.lang.String`

Renders a lang attribute with the locale stored in the user's session. If not found in the session, the language from the `Accept-Language`

Since:
  Struts 1.2

xhtml

false

true

`java.lang.String`

Set to `true` in order to render `xml:lang` and `xmlns` attributes on the generated `html` element. This also causes all other html tags to render as XHTML 1.0 (the `<html:xhtml/>` tag has a similar purpose).

Since:
  Struts 1.1

Variables
No Variables Defined.

Overview | Library | Tag | Help

| FRAMES NO FRAMES

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.