gpt4 book ai didi

html - javadoc 是 html 还是 xhtml?

转载 作者:可可西里 更新时间:2023-11-01 14:53:54 31 4
gpt4 key购买 nike

我今天早上在 IntelliJ 中输入了一些 Javadoc 并使用了
标签,IntelliJ 以其通常有用的方式自动完成了
|
......但我的印象是
被定义为不是容器:

http://www.washington.edu/accessit/webdesign/student/unit2/common_tags.htm说:

A few tags are called non-container tags, because they don't contain any content - they stand alone. Examples are images and line breaks. XHTML requires that all open tags must be closed, even if they're not container tags. Therefore, non-container tags end in />. For example, the tag for a line break is <br />.

Javadoc 是 HTML 还是 XHTML?在我看来,IntelliJ 应该完成

或不理会它。

最佳答案

http://www.oracle.com/technetwork/java/javase/documentation/index-137868.html

Format of a Doc Comment A doc comment is written in HTML and must precede a class, field, constructor or method declaration. It is made up of two parts -- a description followed by block tags. In this example, the block tags are @param, @return, and @see.

关于html - javadoc 是 html 还是 xhtml?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13720626/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com