Media elements and forms

1. Unordered list:
<ul>
     <li>桔子</li>
     <li>香蕉</li>
     <li>苹果</li>
</ul>

 2. Type value of unordered list:

      The disc bullet is displayed as the center of the solid circle, the default value
      The square bullet is displayed as a solid square heart
      circle bullets appear as hollow circles
3. Ordered list:
<ol>
     <li>桔子</li>
     <li>香蕉</li>
     <li>苹果</li>
</ol>

4. Type value of ordered list:

      1 Use numbers as bullets
       A / a uses uppercase / lowercase letters as bullets
       I / i uses uppercase / lowercase Roman numerals as bullets
5. Definition list:
< dl > 
     < dt > Affiliated college </ dt > 
     < dd > Computer application </ dd > 
     < dt > Affiliated major </ dt > 
     < dd > Computer software engineering </ dd > 
</ dl >

6. The definition list is usually used to achieve mixed graphics and text, place pictures in dt, and place text in dd.

7. Basic form:
< table > 
    < tr > 
         < td > Content of the first cell </ td > 
         < td > Content of the second cell </ td > 
        ...... 
    </ tr > 
    < tr > 
        < td > The first cell The content of the cell </ td > 
         < td > The content of the second cell </ td > 
        ...... 
    </ tr > 
</ table >

8. Common properties of basic forms:

align horizontal alignment left alignment left right alignment center center alignment
valign vertical alignment top top alignment middle center alignment bottom bottom alignment, baseline alignment
colspan across columns rowspan across rows
9.iframe inline frame:
< iframe src = "path" name = "mainFrame" frameborder = "x" scrolling = "yes / no" noresize = "noresize" width = "x" height = "y" > </ iframe > 

/ * src inline page Address 
    name Frame name 
    frameborder Border 
    scrolling Whether the scroll bar 
    noresize appears Whether to adjust the frame window size 
    width Frame width 
    hight Frame height * /

10. HTML5 new form element
     email
     url
     number
     range
     search

Guess you like

Origin www.cnblogs.com/yun---meng/p/12676747.html