Monday, November 19, 2007

How to insert New HTML Tags

How to insert New HTML Tags

To insert New HTML Tags

While working in Outline view, you can insert HTML tags and define their types and attributes. You can either enter a tag name directly or select one from the Web Database. You may want to define tag attributes to fine-tune the appearance of your Web page. The browser displays attributes control the way for a tag. Many tags support special formatting instructions, such as element alignment, color, and directory paths to resource files. Predefined attributes are available.

To insert a tag and define its type and attributes by using the Outline toolbar:

Step 1.

  • In Outline view, select an HTML element in the outline.

Step 2.

  • Click the New HTML Tag button in the Outline toolbar, and insert an untitled HTML tag below the current selection.

Step 3.

  • To name the tag, do one of the following:

    1. Enter the desired HTML tag name in the Untitled Tag text box, and press Enter. To enter tags directly, you should be familiar with the capabilities of the targeted browser. Unsupported tags will be ignored.

    2. To use a tag from the Web Database deselect the tag text box, then Ctrl-click the name, and choose an HTML type from the list in the pop-up menu.

Step 4.

  • To define an attribute, click the show/hide attributes triangle, and choose an attribute from the attribute pop-up menu.

Step 5.

  • To assign a value to the attribute, click the triangle to the right of the attribute, and choose a value from the values pop-up menu.


No comments: