html - 图标签是否适合网站 Logo

标签 html

这可以是标记,但我不知道它在语义上是否正确

<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/

相关文章:

javascript - 单击 Backspace 按钮时 jQuery 过滤器不起作用

html - 一页纸上的全宽和全高 - CSS

html - 打印纸上不显示表格背景图像

javascript - 用鼠标旋转轮盘

javascript - 用一个动画切换两个字段

html - 响应容器的静态和响应边距

javascript - 使用 javascript/css 的绝对位置 div

javascript - blueimp Gallery 无边框缩略图

html - 搜索框和提交按钮未在 CSS 中对齐

html - 如何在步骤结束时停止步进线延伸