W3C Amaya

previous top

Removing Style

HTML provides some character-level elements that allow you to associate style with character strings. You can also remove any associated style from a character string.

To remove style from a character string

  1. Select the character string from within the document from which youwant to remove the style.

  2. Choose InformationType from the Stylemenu.

  3. From the submenu, select the style command that you want to remove. For example, if you want to remove the emphasis style command from a character string, select emphasis.

    Note:    You can also select styles directly from the keyboard. Keyboard shortcuts are listed on the Style > Information Type submenu and in the following table.

Table 1: Style Menu Commands

Style Menu Command

Keyboard Shortcut

Related button

Emphasis (em)

Shift + Ctrl + I

Emphasis button

Strong

Shift + Ctrl + B

Strong button

Cite

Alt + t
Alt + w

Definition (dfn)

Alt + t
Alt + d

Code

Alt + t
Alt + c

Code button

Variable (var)

Alt + t
Alt + v

Sample (samp)

Alt + t
Alt + s

Keyboard (kbd)

Alt + t
Alt + k

Abbreviation (abbr)

Alt + t
Alt + a

Acronym

Alt + t
Alt + z

Insertion (ins)

Alt + t
Alt + i

Deletion (del)

Alt + t
Alt + Delete

 Note: The attributes of all style commands attributed to any character string are removed when you highlight that text and reselect the style commands.