问题描述
我想知道应该在句子或段落中使用哪个html元素(比如说< p>
strong>用于借用的单词或外语的单词,引用有效的语义。这里的几个例子:
I'm wondering which html element I should use in a sentence or a paragraph (let say a <p>
block) for a borrowed word or one in a foreign language, refering to a valid semantic. Here a few examples :
他不是大声说话,而是不是默默地,而是 mezzo voce (使用意大利语)
He was not speaking loudly, but not more silently, indeed mezzo voce (use of an Italian word)
法语
In French
在法语中,至少,使用外语需要斜体格式。
In French, at least, this use of a foreign language require an italic formatting.
所以我想结合语义和演示。 给我一个提示,但我不相信到目前为止。此外,我可能不能控制CSS,例如在文档(wiki)或描述文件(pom)
哪个元素适合我的要求最好:
So I would like to combine both semantic and presentation. Wikipedia article on Semantic HTML give me a hint but I'm not convinced so far. Moreover, I might not have control over CSS, for instance in documentation (wiki), or in a description file (pom)Which element suit my requierements the best :
-
< i>
(当然不是:)) -
< em>
(也许不是:)) -
< cite>
-
< span lang =latin>
-
=borrowed>
- 组合这些
<i>
(surely not :) )<em>
(maybe not :) )<cite>
<span lang="latin">
<span class="borrowed">
- combinaison of these ones
- an other tag
推荐答案
说
, 是另一种语言的惯用短语,音译,思想或船名。 > 我的重点
My Emphasis
他们的例子
<p>There is a certain <i lang="fr">je ne sais quoi</i> in the air.</p>
这篇关于我应该使用哪个元素短组外国语言单词?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!