例子: <tag>

These search results reproduce every example of the use of <tag> in the Guidelines, including all localised and translated versions. In some cases, the examples have been drawn from discussion of other elements in the Guidelines and illustrating the use of <tag> is not the main focus of the passage in question. In other cases, examples may be direct translations of each other, and hence identical from the perspective of their encoding.

22 Documentation Elements


22.1.1 Phrase Level Terms

<p>The <gi>gi</gi> element is
used to tag element names when they appear in the text; the <gi>tag</gi> element however
is used to show how a tag as such might appear. So one might talk of an occurrence of
the <gi>blort</gi> element which had been tagged <tag>blort type='runcible'</tag>. The
<att>type</att> attribute may take any name token as value; the default value is
<val>spqr</val>, in memory of its creator.</p>

<tag>

Mark the start of each italicised phrase with a
<tag>hi rend="it"</tag> tag, and its end with a <tag type="end">hi</tag> tag.
<tag type="comment">Example updated on 2008-04-05</tag>

<tag>

Marque le début de tout groupe de mots en
italique avec la balise <tag>hi rend="it"</tag>, et le termine avec le tag
<tag type="end">hi</tag>
<tag type="comment">Example updated on 2008-04-05</tag>

<tag>

於所有斜體字的前頭以<tag>hi rend="it"</tag>
標籤,並以<tag>/hi</tag>標籤結尾。