
Style sheets can be used to change the presentation of acronyms or abbreviations.
30.6.5. Insertions and deletions
The del and ins elements are available in the Information types submenu of the Insert menu to mark
text which ought to be deleted or which has already been inserted.
Style sheets can be used to change the presentation of insertions and deletions.
30.6.6. Emphasis elements
HTML has elements to define two levels of emphasis:
1. Ordinary emphasis, using the em element and
2. Strong emphasis, using the strong element.
Both types of emphasis can be applied from the toolbar using the and buttons, or from the
Information types submenu of the Insert menu. There are also standard keyboard shortcuts - Ctrl i
Ctrl e for emphasis (because the default rendering is often italicised text) and Ctrl i Ctrl s for
strong emphasis (becuase the default rendering is often bold text). If there is a current selection, the
emphaisis is applied to that, otherwise the appropriate element is created, as a child of the current
element.
The emphasis elements are toggled in Amaya - to remove an emphasis select the element and reapply the
appropriate emphasis. For example place the cursor somewhere in a strong element, use the F2 key to
select the element, and then use the keyboard shortcut, menu item, or the button - the strong
element will be removed.
Style sheets can be used to change the presentation of both types of emphasis.
30.6.7. Span element
The span element in conjunction with a id (style or class) attribute offers a generic mechanism for adding
structure to a document. This element is generated by Amaya when the user applies an attribute to a
piece of text. It's removed when the attribute is deleted.
30.7. Character style elements in HTML
What NOT to do and how it should be done...
HTML 4.0 (Strict) includes some elements which provide character styles. These elements should be
replaced by the use of structural elements or style sheets wherever possible.
All the elements in question except PRE are found in the Character Element submenu of the XHTML
menu:
b and i
These should be replaced by use of the strong and em elements where they are used to provide
emphasis for a word or phrase. There are special elements to denote headings, terms that are being
defined, and certain special uses, such as a quotation, piece of computer code, etc. If the elements
are simply being used to provide heavier font style sheets should be used instead
big and small
In general these effects should be achieved with style sheets. Where they are used to denote specific
types of information such as the source of a quotation, sample computer input or output, etc, there
are appropriate HTML elements that should be used.
Amaya User Manual
102
Comentários a estes Manuais