Formula:Folium dactylographicum

(Redirectum de Formula:Pre)
Icon documentationis Documentatio formulae[ostende] [recense] [historiam inspice] [purga]

Haec formula adiuvat ad notam HTML pre (i.e. <pre>...</pre>) scribendam.

Haec formula sive transcludi ({{Folium dactylographicum|...}}) sive substitui potest ({{subst:Folium dactylographicum|...}}).

{{pre}}
{{dact}}

Utere hac formula ut folium dactylographicum scribas (per notam HTML <pre>...</pre> – de hac vide infra).

Codex manuscriptus:

{{pre|Lorem ipsum

dolor sit amet}}

Effectus:

Lorem ipsum

dolor sit amet

De formula adhibenda

recensere

Haec formula folium dactylographicum scribit.

Template parameters[Edit template data]

ParameterDescriptioTypusStatus
Res1

Versus ostendendi

Example
Sgr A*
Contentoptional
Notanota

Attributio HTML ‘title’

Example
Sagittarius A*
Stringoptional
Ancoraancora

Attributio HTML ‘id’

Example
sgr-a
Stringoptional
Classis HTMLclass

Attributio HTML ‘class’

Example
glossema
Stringoptional
CSSstyle

Attributio HTML ‘style’

Example
font-style: inherit; font-weight: bold;
Stringoptional

De nota HTML

recensere

Consortium WHATWG sic notam HTML <dfn>...</dfn> definivit (Anglice):

The pre element represents a block of preformatted text, in which structure is represented by typographic conventions rather than by elements.

Note: In the HTML syntax, a leading newline character immediately following the pre element start tag is stripped.

Some examples of cases where the pre element could be used:

  • Including an email, with paragraphs indicated by blank lines, lists indicated by lines prefixed with a bullet, and so on.
  • Including fragments of computer code, with structure indicated according to the conventions of that language.
  • Displaying ASCII art.

Note: Authors are encouraged to consider how preformatted text will be experienced when the formatting is lost, as will be the case for users of speech synthesizers, braille displays, and the like. For cases like ASCII art, it is likely that an alternative presentation, such as a textual description, would be more universally accessible to the readers of the document.

To represent a block of computer code, the pre element can be used with a code element; to represent a block of computer output the pre element can be used with a samp element. Similarly, the kbd element can be used within a pre element to indicate text that the user is to enter.

Note: This element has rendering requirements involving the bidirectional algorithm.
– HTML Standard, § The pre element

Synonyma

recensere
  • {{Dact}}
  • {{Pre}} – nomen interviciale

Vide quoque

recensere