开发者

What HTML elements are meant to contain text? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and c开发者_如何学Cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

What HTML elements are meant or are designed to contain visible text (HTML4/XHTML) ? Planning to make a stylesheet to style them.


Some of these are defined as block-type and some as text-level. But they were meant to contain texts (or at least are used as text-wrappers.)

  • <tt>
  • <i>
  • <b>
  • <big>
  • <small>
  • <em>
  • <strong>
  • <dfn>
  • <code>
  • <samp>
  • <kbd>
  • <var>
  • <cite>
  • <abbr>
  • <acronym>
  • <sub>
  • <sup>
  • <span>
  • <bdo>
  • <address>
  • <div>
  • <a>
  • <object>
  • <p>
  • <h1>, <h2>, <h3>, <h4>, <h5>, <h6>
  • <pre>
  • <q>
  • <ins>
  • <del>
  • <dt>
  • <dd>
  • <li>
  • <label>
  • <option>
  • <textarea>
  • <fieldset>
  • <legend>
  • <button>
  • <caption>
  • <td>
  • <th>
  • <title>
  • <script>
  • <style>
  • <blockquote>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜