line
Using attributes and the right mouse button
line

Knowledge of attributes and clicking using the right mouse button makes TopPage operations easy.

This section contains the following topics:


What are attributes?

Each element inserted on a Web page contains attributes. For example, a table contains such attributes as width and color, whereas an image contains such attributes as width and height. Attributes are used mainly for changing appearance.

When you construct a table, you first create the table itself and then you change its width or color. When you insert an image, you first insert the generic image, and then you change its width or height. Thus, when you work with elements in TopPage, you first create or insert elements, and then you change their attributes.

Vocabulary Vocabulary element

One of the fundamental units that compose a Web page. For example, paragraphs, horizontal rules, tables, and images are elements.

Your method for changing attributes is the same for all elements. When you think "I want to change something about this element," you need to change its attributes as follows:

  1. Click the element using the right mouse button to display a pop-up menu.

    Pop-up menu

  2. Click the Attributes menu to display the Attribute dialog box.

  3. Check the element name displayed in the Tag list box on the Attribute dialog box. It might not be the target element name; it might be a nested element instead. To display attributes of the target element, select the target element name from the Tag list box.

    Tip Tip What is a nested element?

    If an element contains another element, the one inside is called a nested element. For example, if a table contains an image, the image is a nested element.

    Attribute dialog

  4. Change the values of the attributes as you like.

    Tip Tip To know how to specify the value of each attribute, click the Help button on the Attribute dialog box.

  5. Click the OK button to make the changes take effect.

Clicking using the right mouse button

In the preceding description, if you click an element using the right mouse button, menus other than Attributes appear. Most applications that run under Windows enable you to click using the right mouse button to do various tasks. TopPage enables you to click using the right mouse button not only on elements but also on files and folders. If you want to do a certain task with an element, a file, or a folder, try clicking it using the right mouse button.