未被引用的作品标题如何标记?
How is a work title marked up when it's not being cited?
要引用 HTML 中的作品,您可以使用 <cite>
:
In <cite>The Lord of the Rings: The Return of the King</cite>, the author includes several appendices.
如果我想提及一部作品而不实际引用它怎么办? <cite>
仍然是正确的元素还是我应该使用其他元素?
I read <cite>The Lord of the Rings</cite> when I was thirteen.
我没有看到任何指导 at MDN, and the closest question I could find here was (X)HTML Markup for Book Titles,它是关于使用什么代替 <em>
作为书名,但没有区分引用和提及。
The WHATWG spec indicates <cite>
应该用于引用和提及:
The cite
element represents the title of a work (e.g. a book, a paper, an essay, a poem, a score, a song, a script, a film, a TV show, a game, a sculpture, a painting, a theatre production, a play, an opera, a musical, an exhibition, a legal case report, a computer program, etc.). This can be a work that is being quoted or referenced in detail (i.e., a citation), or it can just be a work that is mentioned in passing.
要引用 HTML 中的作品,您可以使用 <cite>
:
In <cite>The Lord of the Rings: The Return of the King</cite>, the author includes several appendices.
如果我想提及一部作品而不实际引用它怎么办? <cite>
仍然是正确的元素还是我应该使用其他元素?
I read <cite>The Lord of the Rings</cite> when I was thirteen.
我没有看到任何指导 at MDN, and the closest question I could find here was (X)HTML Markup for Book Titles,它是关于使用什么代替 <em>
作为书名,但没有区分引用和提及。
The WHATWG spec indicates <cite>
应该用于引用和提及:
The
cite
element represents the title of a work (e.g. a book, a paper, an essay, a poem, a score, a song, a script, a film, a TV show, a game, a sculpture, a painting, a theatre production, a play, an opera, a musical, an exhibition, a legal case report, a computer program, etc.). This can be a work that is being quoted or referenced in detail (i.e., a citation), or it can just be a work that is mentioned in passing.