The translation is temporarily closed for contributions due to maintenance, please come back later.

Source string Read only

(itstool) path: sect2/para
Context English State
The element's content is the text of the heading.
<tag>h1</tag>, <tag>h2</tag>, and Other Header Tags
Usage:
<tag class="starttag">h1</tag>First section<tag class="endtag">h1</tag>

&lt;!-- Document introduction goes here --&gt;

<tag class="starttag">h2</tag>This is the heading for the first section<tag class="endtag">h2</tag>

&lt;!-- Content for the first section goes here --&gt;

<tag class="starttag">h3</tag>This is the heading for the first sub-section<tag class="endtag">h3</tag>

&lt;!-- Content for the first sub-section goes here --&gt;

<tag class="starttag">h2</tag>This is the heading for the second section<tag class="endtag">h2</tag>

&lt;!-- Content for the second section goes here --&gt;
Generally, an <acronym>XHTML</acronym> page should have one first level heading (<tag>h1</tag>). This can contain many second level headings (<tag>h2</tag>), which can in turn contain many third level headings. Do not leave gaps in the numbering.
Paragraphs
<acronym>XHTML</acronym> supports a single paragraph element, <tag>p</tag>.
<tag>p</tag> Example
<tag class="starttag">p</tag>This is a paragraph. It can contain just about any
other element.<tag class="endtag">p</tag>
Block Quotations
A block quotation is an extended quotation from another document that will appear in a separate paragraph.
<tag>blockquote</tag> Example
<tag class="starttag">p</tag>A small excerpt from the US Constitution:<tag class="endtag">p</tag>

<tag class="starttag">blockquote</tag>We the People of the United States, in Order to form
a more perfect Union, establish Justice, insure domestic
Tranquility, provide for the common defence, promote the general
Welfare, and secure the Blessings of Liberty to ourselves and our
Posterity, do ordain and establish this Constitution for the
United States of America.<tag class="endtag">blockquote</tag>
Lists
<acronym>XHTML</acronym> can present the user with three types of lists: ordered, unordered, and definition.
Entries in an ordered list will be numbered, while entries in an unordered list will be preceded by bullet points. Definition lists have two sections for each entry. The first section is the term being defined, and the second section is the definition.
Ordered lists are indicated by the <tag>ol</tag> element, unordered lists by the <tag>ul</tag> element, and definition lists by the <tag>dl</tag> element.
Ordered and unordered lists contain listitems, indicated by the <tag>li</tag> element. A listitem can contain textual content, or it may be further wrapped in one or more <tag>p</tag> elements.
Definition lists contain definition terms (<tag>dt</tag>) and definition descriptions (<tag>dd</tag>). A definition term can only contain inline elements. A definition description can contain other block elements.
<tag>ul</tag> and <tag>ol</tag> Example
<tag class="starttag">p</tag>An unordered list. Listitems will probably be
preceded by bullets.<tag class="endtag">p</tag>

<tag class="starttag">ul</tag>
<tag class="starttag">li</tag>First item<tag class="endtag">li</tag>

<tag class="starttag">li</tag>Second item<tag class="endtag">li</tag>

<tag class="starttag">li</tag>Third item<tag class="endtag">li</tag>
<tag class="endtag">ul</tag>

<tag class="starttag">p</tag>An ordered list, with list items consisting of multiple
paragraphs. Each item (note: not each paragraph) will be
numbered.<tag class="endtag">p</tag>

<tag class="starttag">ol</tag>
<tag class="starttag">li</tag><tag class="starttag">p</tag>This is the first item. It only has one paragraph.<tag class="endtag">p</tag><tag class="endtag">li</tag>

<tag class="starttag">li</tag><tag class="starttag">p</tag>This is the first paragraph of the second item.<tag class="endtag">p</tag>

<tag class="starttag">p</tag>This is the second paragraph of the second item.<tag class="endtag">p</tag><tag class="endtag">li</tag>

<tag class="starttag">li</tag><tag class="starttag">p</tag>This is the first and only paragraph of the third
item.<tag class="endtag">p</tag><tag class="endtag">li</tag>
<tag class="endtag">ol</tag>
Definition Lists with <tag>dl</tag>
<tag class="starttag">dl</tag>
<tag class="starttag">dt</tag>Term 1<tag class="endtag">dt</tag>

<tag class="starttag">dd</tag><tag class="starttag">p</tag>Paragraph 1 of definition 1.<tag class="endtag">p</tag>

<tag class="starttag">p</tag>Paragraph 2 of definition 1.<tag class="endtag">p</tag><tag class="endtag">dd</tag>

<tag class="starttag">dt</tag>Term 2<tag class="endtag">dt</tag>

<tag class="starttag">dd</tag><tag class="starttag">p</tag>Paragraph 1 of definition 2.<tag class="endtag">p</tag><tag class="endtag">dd</tag>

<tag class="starttag">dt</tag>Term 3<tag class="endtag">dt</tag>

<tag class="starttag">dd</tag><tag class="starttag">p</tag>Paragraph 1 of definition 3.<tag class="endtag">p</tag><tag class="endtag">dd</tag>
<tag class="endtag">dl</tag>
Pre-formatted Text
Pre-formatted text is shown to the user exactly as it is in the file. Text is shown in a fixed font. Multiple spaces and line breaks are shown exactly as they are in the file.
Wrap pre-formatted text in the <tag>pre</tag> element.
<tag>pre</tag> Example
For example, the <tag>pre</tag> tags could be used to mark up an email message:
<tag class="starttag">pre</tag> From: nik@FreeBSD.org
To: freebsd-doc@FreeBSD.org
Subject: New documentation available

There is a new copy of my primer for contributors to the FreeBSD
Documentation Project available at

&amp;lt;URL:https://people.FreeBSD.org/~nik/primer/index.html&amp;gt;

Comments appreciated.

N<tag class="endtag">pre</tag>
Keep in mind that <literal>&lt;</literal> and <literal>&amp;</literal> still are recognized as special characters in pre-formatted text. This is why the example shown had to use <literal>&amp;lt;</literal> instead of <literal>&lt;</literal>. For consistency, <literal>&amp;gt;</literal> was used in place of <literal>&gt;</literal>, too. Watch out for the special characters that may appear in text copied from a plain-text source, like an email message or program code.
Tables

Loading…

No matching activity found.

Browse all component changes

Source information

Source string comment
(itstool) path: sect2/para
Flags
read-only
Source string location
book.translate.xml:3665
String age
a year ago
Source string age
a year ago
Translation file
books/fdp-primer.pot, string 608