layout: default title: head tag parent: title: Tag Reference url: tag-reference.html

head

Please make sure you have read the Tag Syntax document and understand how tag attribute syntax works.

Description

Renders parts of the HEAD section for an HTML file. Encoding can be set using this tag.

{% remote_file_content https://raw.githubusercontent.com/apache/struts/master/core/src/site/resources/tags/head-description.html %}

Attributes

{% remote_file_content https://raw.githubusercontent.com/apache/struts/master/core/src/site/resources/tags/head-attributes.html %}

Examples

 <head>
   <title>My page</title>
   <s:head/>
 </head>