| <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html lang="en-us" xml:lang="en-us"> |
| <head> |
| <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> |
| <meta name="copyright" content="Copyright (c) 2000, 2006 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html. Contributors: IBM Corporation - initial API and implementation" /> |
| <meta name="DC.rights.owner" content="(C) Copyright 2000, 2006" /> |
| <meta content="public" name="security" /> |
| <meta content="index,follow" name="Robots" /> |
| <meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' /> |
| <meta content="task" name="DC.Type" /> |
| <meta name="DC.Title" content="Creating HTML and XHTML files and framesets" /> |
| <meta name="abstract" content="You can use the New HTML File wizard to create HTML and XHTML files and framesets." /> |
| <meta name="description" content="You can use the New HTML File wizard to create HTML and XHTML files and framesets." /> |
| <meta content="HTML files, creating, XHTML files, WML files, framesets" name="DC.subject" /> |
| <meta content="HTML files, creating, XHTML files, WML files, framesets" name="keywords" /> |
| <meta content="XHTML" name="DC.Format" /> |
| <meta content="tjcrehtm" name="DC.Identifier" /> |
| <meta content="en-us" name="DC.Language" /> |
| <link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" /> |
| <title>Creating HTML and XHTML files and framesets</title> |
| </head> |
| <body id="tjcrehtm"><a name="tjcrehtm"><!-- --></a> |
| |
| |
| <h1 class="topictitle1">Creating HTML and XHTML files and framesets</h1> |
| |
| |
| |
| <div><p>You can use the New HTML File wizard to create HTML and XHTML files |
| and framesets. </p> |
| |
| <div class="section"> </div> |
| |
| <ol> |
| <li class="stepexpand"><span>Create a static or a dynamic Web project if you have not already |
| done so.</span></li> |
| |
| <li class="stepexpand"><span>In the Project Explorer, expand your project and right click on |
| your WebContent folder or on a subfolder under WebContent. </span> Note |
| that if you choose any other folder in which to create the HTML file, then |
| it will not be included in the WAR file that is deployed to the server. In |
| addition, link validation will not encompass files that are not under the |
| WebContent folder.</li> |
| |
| <li class="stepexpand"><span>From the context menu, select <span class="menucascade"><span class="uicontrol">New</span> |
| > <span class="uicontrol">Other</span> > <span class="uicontrol">Web</span> > <span class="uicontrol">HTML</span> |
| </span>.</span> The New HTML Page window appears with your |
| folder selected</li> |
| |
| <li class="stepexpand"><span>Type a file name into the File name field, making sure you include |
| an html extension (html, htm, xhtml, htpl, wml, shtml, or shtm) in the file |
| name.</span></li> |
| |
| <li class="stepexpand"><span> You have several options for proceeding:</span> |
| <ul> |
| <li>To accept the defaults associated with a new HTML file, select <span class="uicontrol">Finish.</span></li> |
| |
| <li> To use a template file for the initial content of your HTML page, |
| select <span class="uicontrol">Next</span>. The Select HTML Template window appears. |
| Select the <span class="uicontrol">Use HTML Template</span> check box, and then select |
| one of the sample templates. You can also select the <span class="uicontrol">HTML Templates</span> link |
| to add or remove HTML templates to your list of templates.</li> |
| |
| </ul> |
| |
| </li> |
| |
| </ol> |
| |
| </div> |
| |
| |
| </body> |
| </html> |