Understanding the Portable HTML Standard Edition Template

prevnext

Understanding page titles


In HTML, a title is displayed in the browser's title bar. The information displayed here is set in the <HEAD> section of the HTML, in the <TITLE> tag. For example, the following code will display "This is the title" in the title bar of the browser:

 <HTML>
 <HEAD>
 <TITLE>This is the title</TITLE>
 </HEAD>
 <BODY>This is body text.
 </BODY>
 </HTML>

In all HTML templates, the title attribute is set automatically by copying the content of the first major heading into the <TITLE> attribute. The following paragraph styles include the BBCheckTitle building block, which checks to see whether a title has been set for the page; if not, Publisher assigns the content of the current paragraph to the title attribute:

If no title is set using one of these paragraph styles, the title is set to the file name of the generated HTML page.

prevnext



Quadralay Corporation
http://www.webworks.com
Voice: (512) 719-3399
Fax: (512) 719-3606
sales@webworks.com