Creating web pages

The New Web Page wizard helps you to create HTML and Dojo Mobile HTML.

Procedure

  1. Right-click on WebContent in the Project Explorer
  2. From the popup menu, click New > Web Page. The New Web Page wizard displays.
  3. Select a template from the Template dialog box, and then type a name for the file. If you do not specify a file extension, it is added automatically.
  4. Optionally change the folder in which you want to create the new web page. If you change the folder, make sure that you choose one in or under the WebContent folder; Changing the folder ensures that the file is available for validation, publishing, and deployment.
  5. Check or clear the Link page to template box. If this box is checked, changes that you make to the template is reflected in all the web pages you create that are linked to the template. In most instances, you probably want to leave this box checked.
  6. To change the options for the web page template you selected, click Options. The options that appear differ based on the type of web page you are creating or on the type of facets that are associated with the project.
    Note: You can select facets when you create a project, or add or remove them after the project is created by right-clicking the project and selecting Project > Properties > Project Facets .
    Options include:
    Document Markup
    Specify encoding, content type, and doctype for the generated page. If you want to create an HTML 5 page, in the Document Type field, select HTML 5.
    Dojo Toolkit
    Enable the use of Dojo technology.
    JavaScript Files
    Specify JavaScript files that you want to add to the page.
    Mobile Web Page
    Specify the style sheet options that you want to add to the page.
    Style Sheets
    Specify style sheets that you want to add to the page.
Icon that indicates the type of topic Task topic
Timestamp icon Last updated: July 17, 2017 21:58

File name: tcrtwebpg.html