如何确定应该选择什么以使标题加粗< strong>或< h3 / h4 / h5&gt ;? [英] How to decide What should be chosen to make heading bold <strong> or <h3/h4/h5>?

查看:195
本文介绍了如何确定应该选择什么以使标题加粗< strong>或< h3 / h4 / h5&gt ;?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何判断应为< h2> h3 h4 h5 h6 < p>< strong>某些文本< ; / strong>< / p> 如果我们对上下文不了解



只有页面标题我可以轻松判断< h1>



如何判断他人我总是从MS Word 2007格式的客户端获取内容,并且客户端始终使用

我们如何最好地判断客户想要标题级别的地方,以及他只在样式上使用粗体的地方,以及他真正想要强调的地方

 < p>< strong>此处的某些文本< / strong>< / p> 
< p>这里有更多文本这里有更多文本此处
这里有更多文本
这里有更多文本这里有更多文本这里有更多文本
< / p>

或任何标题级别

 < H *>查询到:< / h *> 
< p>这里有更多文本这里有更多文本此处
这里有更多文本
这里有更多文本这里有更多文本这里有更多文本
< / p>

哪个对可访问性有利?

解决方案

我会说不用担心格式决定使用哪个标题,您可以随时使用CSS调整外观。



<我的经验法则是考虑要在一个组织良好且层次分明的目录中看到的内容。如果要输入文本,请使用 H [123456] 标记。然后,越靠近 H1 的显着用途,越靠近 H6 的显着用途。对于相同重要性的事物,请使用相同的 Hn



最后没有TOC没关系,但这可以帮助您思考如何组织标题。


How to judge what should be <h2> , h3 h4 h5 h6 or <p><strong>Some text</strong></p> If we don't have knowledge about context

Only title of the page i can judge easily <h1>

How to judge others I always get content from clients in MS word 2007 format and client always use fontsize to make things smaller and bigger.

How we can best judge where client want Headings level and where he used bold text only for styling and where He really want to give emphasize on text.

<p><strong>Some text here</strong></p>
<p>Some more text here Some more text hereSome more text here
   Some more text hereSome more text here Some more text here
</p>

Or any heading level

<H*>Enquiries to:</h*>
<p>Some more text here Some more text hereSome more text here
   Some more text hereSome more text here Some more text here
</p>

Which would be good for accessibility?

解决方案

I would say don't worry about the formatting to decide which heading to use, you can always adjust the look with CSS.

My rule of thumb is to think of what you would want to see in a well organized and hierarchical table of content. If you would want the text in it then use a H[123456] tag. Then the more prominent use closer to H1, less prominent use closer to H6. Use the same Hn for things that are at the same level of importance.

It does not matter if you don't have a TOC in the end, but that will help you think how to organize your headings.

这篇关于如何确定应该选择什么以使标题加粗&lt; strong&gt;或&lt; h3 / h4 / h5&gt ;?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆