Customizing HTML Templates Tutorial

Back Home Next
 

Step Step 8: Be aware of the HTML CENTER element

Again, the contents of a default custom HTML template file are shown below.

Be aware that this file contains a CENTER element. It begins with a <CENTER> tag just after the <BODY> tag and ends with a </CENTER> tag just before the </BODY> tag. These two tags are shown below in bold.

As you probably know, every HTML element that has visual output and that occurs within a CENTER element will have its visual output centered horizontally across the HTML page when the page is browsed. For example, in the default Host On-Demand desktop shown in Step 5, the Host On-Demand banner is centered horizontally across the HTML page.

If you do not want certain HTML elements centered horizontally, you can delete the CENTER element. You can also add CENTER elements elsewhere, so long as you modify only sections of the file that are identified in Step 7 as valid to change.

!doctype html public "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META http-equiv="content-type" content="text/html; charset=UTF-8">
<!-- SUMMARY -->
</HEAD

<BODY BACKGROUND="<DW_CODE_BASE>hodbkgnd.gif">
<CENTER>
<IMG src="<DW_CODE_BASE>hodlogo.gif" ALT="hodlogo.gif">
<P>

<!-- STARTAPPLETPARMS -->
<!-- ENDAPPLETPARMS -->

<!-- SCRIPTS -->
<!-- APPLET -->

</CENTER>
</BODY>
</HTML>

Back
Home
Next