这可以是标记,但我不知道它在语义上是否正确
<figure class="logo">
<a href="http://sitios/julioverne">
<img src="logo.jpg" alt="" title="" />
</a>
<figcaption>Brand Name</figcaption>
</figure>
最佳答案
The
figure
element represents a unit of content, optionally with a caption, that is self-contained, that is typically referenced as a single unit from the main flow of the document, and that can be moved away from the main flow of the document without affecting the document’s meaning.
对我来说似乎适合一个标志。
(reference)
关于html - 图标签是否适合网站 Logo ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12236673/