• Structured Authoring

    Posted on August 17th, 2010

    Written by douglaspaulwade

    Tags

    Often elements will have attributes, which are extra bits of information. Attributes appear inside the opening tag and their value is always inside quotation marks. They look something like this:

    <tagname attribute="value">content</tagname>

    Often, writers will remove the value, but not the attribute. The proper way is to delete the unnecessary attribute.

    Improper Method of Deleting Attributes

    When an attribute is not required, it is important to delete the attribute and not null it out (as just remove the value).
    For example below, the label attribute has been nulled out.

    In this example, the label attribute has been deleted.

    Proper Method of Deleting an Attribute

    To delete an attribute, place the cursor inside the start tag of the element, open the Modify Attributes dialog box (CTRL-D), and click inside the attribute text box for the attribute to be deleted. Then click Delete and finally click OK to close the Modify Attributes dialog box.

    Tip: Attributes that have been modified are displayed in blue text in the Modify Attributes dialog box.

    This entry was posted on Tuesday, August 17th, 2010 at 7:07 am and is filed under Structured Authoring. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
  • 0 Comments

    Take a look at some of the responses we have had to this article.

  • Leave a Reply

    Let us know what you thought.

  • Name(required):

    Email(required):

    Website:

    Message: