html tags

html reference manual: http://www.w3school.com.cn/tags/html_ref_byfunc.asp

html : tags are divided into block-level tags, inline tags

block-level elements

  1. Always start on a new line

  2. Height and width are controllable

  3. When the width is not set, the default is 100%

  4. Block-level elements can contain block-level elements and inline elements

· Elements in the line

  1. and other elements are all on one line

  2. Height, width and padding are uncontrollable

  3. The width and height are the height of the content and cannot be changed

  4. Inline elements can only be inline elements and cannot contain block-level elements

Block-level elements: Block-level is mostly structural markup

  <address>...</adderss>   

  <center>...</center> address text

  <h1>...</h1> Heading level

  <h2>...</h2> Heading Level 2

  <h3>...</h3> Heading Level 3

  <h4>...</h4> Heading Level 4

  <h5>...</h5> Heading Level 5

  <h6>...</h6> Heading Level 6

  <hr> horizontal dividing line

  <p>...</p> paragraph

  <pre>...</pre> preformatted

  <blockquote>...</blockquote> Paragraph indent 5 characters before and after

  <marquee>...</marquee> scrolling text

  <ul>...</ul> unordered list

  <ol>...</ol> ordered list

  <dl>...</dl> Definition list

  <table>...</table>  表格

  <form>...</form>  表单

  <div>...</div>

 

Inline elements: mostly descriptive markup inline

  <span>...</span>

  <a>...</a> hyperlink anchor

  <br> line break

  <b>...</b> bold

  <strong>...</strong> bold

  <img> image

  <sup>...</sup> superscript

  <sub>...</sub>  下标

  <i>...</i>  斜体

  <em>...</em> italic

  <del>...</del> strikethrough

  <u>...</u> underscore

  <input>...</input> text boxes

  <textarea>...</textarea> multi-line text

  <select>...</select>  下拉

 

Submit form: <form></form> form, define the type of request through method, and action defines the requested form url

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325156991&siteId=291194637
Recommended