HTML标签
                
                    
                            <!-->
                        
                            <!DOCTYPE>
                        
                            <a>
                        
                            <abbr>
                        
                            <acronym>
                        
                            <address>
                        
                            <applet>
                        
                            <area>
                        
                            <article>
                        
                            <aside>
                        
                            <audio>
                        
                            <b>
                        
                            <base>
                        
                            <basefont>
                        
                            <bdi>
                        
                            <bdo>
                        
                            <big>
                        
                            <blockquote>
                        
                            <body>
                        
                            <br>
                        
                            <button>
                        
                            <canvas>
                        
                            <caption>
                        
                            <center>
                        
                            <cite>
                        
                            <code>
                        
                            <col>
                        
                            <colgroup>
                        
                            <command>
                        
                            <datalist>
                        
                            <dd>
                        
                            <del>
                        
                            <details>
                        
                            <dfn>
                        
                            <dialog>
                        
                            <dir>
                        
                            <div>
                        
                            <dl>
                        
                            <dt>
                        
                            <em>
                        
                            <embed>
                        
                            <fieldset>
                        
                            <figcaption>
                        
                            <figure>
                        
                            <font>
                        
                            <footer>
                        
                            <form>
                        
                            <frame>
                        
                            <frameset>
                        
                            <head>
                        
                            <header>
                        
                            <hgroup>
                        
                            <h1> - <h6>
                        
                            <hr>
                        
                            <i>
                        
                            <iframe>
                        
                            <img>
                        
                            <input>
                        
                            <ins>
                        
                            <kbd>
                        
                            <keygen>
                        
                            <label>
                        
                            <legend>
                        
                            <li>
                        
                            <link>
                        
                            <map>
                        
                            <mark>
                        
                            <menu>
                        
                            <meta>
                        
                            <meter>
                        
                            <nav>
                        
                            <noframes>
                        
                            <noscript>
                        
                            <object>
                        
                            <ol>
                        
                            <optgroup>
                        
                            <option>
                        
                            <output>
                        
                            <p>
                        
                            <param>
                        
                            <pre>
                        
                            <html>
                        
                            <progress>
                        
                            <q>
                        
                            <rp>
                        
                            <rt>
                        
                            <ruby>
                        
                            <s>
                        
                            <samp>
                        
                            <script>
                        
                            <section>
                        
                            <select>
                        
                            <small>
                        
                            <source>
                        
                            <span>
                        
                            <strike>
                        
                            <strong>
                        
                            <style>
                        
                            <sub>
                        
                            <summary>
                        
                            <sup>
                        
                            <table>
                        
                            <tbody>
                        
                            <td>
                        
                            <textarea>
                        
                            <tfoot>
                        
                            <th>
                        
                            <thead>
                        
                            <time>
                        
                            <title>
                        
                            <tr>
                        
                            <track>
                        
                            <tt>
                        
                            <u>
                        
                            <ul>
                        
                            <var>
                        
                            <video>
                        
                            <wbr>
                        
                
            <legend>
HTML<legend> 标签
实例
组合表单中的相关元素:
		<form>
<fieldset>
<legend>Personalia:</legend>
Name: <input type="text" size="30"><br>
Email: <input type="text" size="30"><br>
Date of birth: <input type="text" size="10">
</fieldset>
</form>
<fieldset>
<legend>Personalia:</legend>
Name: <input type="text" size="30"><br>
Email: <input type="text" size="30"><br>
Date of birth: <input type="text" size="10">
</fieldset>
</form>
浏览器支持
	 
  
  
  
  
目前大多数浏览器支持 <legend> 标签。
标签定义及使用说明
The <legend> 元素为 <fieldset>元素定义标题。
HTML 4.01 与 HTML5之间的差异
在 HTML 4.01中 "align" 属性已被废弃, HTML5不支持该属性。不建议使用。 请使用 CSS 来设置 <legend> 元素的对齐方式。
属性
| 属性 | 值 | 描述 | 
|---|---|---|
| align | top bottom left right | HTML5 不支持。 HTML 4.01 已废弃。不建议使用。 请使用样式代替。 为 fieldset 中的标题定义对齐方式。 | 
全局属性
<legend> 标签支持全局属性,查看完整属性表 HTML全局属性。
事件属性
<legend> 标签支持所有 HTML事件属性。