
Style sheets can be used to change the presentation of lists, including changing the style of list bullets or
using an image as a bullet, and changing the style of text, for example using a different font for definition
terms and the actual definitions.
30.5. About the author
A web page should always contain some information which enables a reader to find out who wrote it or
is responsible for it. This can include an email address (which can be linked), a URI, or even a physical
address. The type address is used to identify this information, and it can contain other block-level
elements such as paragraphs, headings, and lists.
There is a default style for address elements in most browsers but the author can also use style sheets to
provide a suggested presentation.
30.6. Inline markup
Text within a paragraph, heading, or other block element can be marked up in a variety of ways, for
example to emphasise it, or to highlight text that should be entered by a user into a computer. Most of
these inline elements are described in this page, although links, which are inline elements, are described
separately.
30.6.1. Definitions
The dfn element is used to mark an inline definition (a word which is given as a defining instance)
Style sheets can be used to change the presentation of inline definitions.
30.6.2. Inline quotations
Quotations which are inline can be marked using the information type "quotation" - the HTML element
q. This element is selected from the Character elements submenu of the Insert menu, or with the
keyboard shortcut Ctrl i Ctrl q. It is possible to give a URI source for the quotation, using the cite
attribute.
Style sheets can be used to change the presentation of inline quotations. The HTML specification states
that inline quotation should be rendered with the appropriate punctuation marks for the language being
represented.
30.6.3. Sample input, output and computer code
Elements are provided to mark computer code, such as statement:do-something, with separate
markup for variables, as well as user input and program output - the elements code, var, kbd
and samp. These elements are found in the Information types submenu of the Insert menu, and there
are keyboard shortcuts for all of them - Ctrl i followed by Ctrl t for code, Ctrl v for variables,
Ctrl k for user input and Ctrl m for sample output.
Style sheets can be used to change the presentation of these elements.
30.6.4. Acronyms and abbreviations
Acronyms and abbreviations should be marked as such, using the abbr and acronym elements available
in the Information types submenu of the Insert menu. There is also the shortcut Ctrl i Ctrl y for
acronym. This allows recognition for different types of systems.
The title attribute can also be used to specify the expansion of the acronym. Select the text to be
marked, for example W3C, select the Insert menu, the information types submenu, and the option
acronym. Then select the entire element (F2 key), open the Attributes menu, select title, enter World
Wide Web Consortium, and apply it.
30. An introduction to HTML
101
Comentarios a estos manuales