HTML consists of two parts: <Title> webpage title
<Background> background image
<Bgcolor> background color
<Bgsound src = "e: \ sound \ ***. mp3"> background music
<Font size = 20 color = "yellow"> font size and color
<Center> center font <br/> line feed
<Marquee direction = "rigth" behavior = "alternate"> scroll start position and scroll back and forth)
<Hr/> title line
<P> </p> Segmentation
<H1> <Font color = "# FFFF00" size = "+ 4"> color, size </font>
<Ul> </ul> list Articles
displays the image size, height, and border type.
<A href = "webpage document .html"> </a> hyperconnection
---------------------------------------------------------------------
<Table border = "2">
<Tr>
<Td colspan = "2"> name </td>
<Td> gender </td>
</Tr>
<Tr>
<Td> JOHN </td>
<Td> male </td>
</Tr>
</Table> Create a table (border-table border) colspan (merge cell columns)
---------------------------------------------------------------------
Create Web login Registration
<From method = "post" action = "">
UserName: <input type = "text" name = "userName" size = "20"/> text-text
Password: <input type = "password" name = "pass" size = "20"/> password-star text
<Input type = "submit" value = "login"/> submit-single choice button
</From>
---------------------------------------------------------------------
Create a network framework
<Html>
<Frameset rows = "10%, *" frameborder = "yes" border = "2">
<Frame name = "TOP" src = "up.html"/>
<Frameset cols = "15%, *">
<Frame name = "LEFT" src = "left.html">
<Frame name = "RIGHT" src = "abc.html">
</Frameset>
</Frameset>
</Html>
---------------------------------------------------------------------
<Body> <form name = "my" action = "to which page to process" method = "post" (submission method: displayed in the get-address bar and not in the address bar, relatively secure)> .......... </from> resend </body>
<Input type = "text" name = "txtid"/> input box
<Input type = "password" name = "txtpwd"/> password box
Single choice
<Input type = "radio" name = "sex" value = "1" checked = "true"/> male
<Input type = "radio" name = "sex" value = "0"/> female
Check
<Input type = "checkbox" name = "hao" value = "basketball"/> basketball
<Input type = "checkbox" name = "hao" value = ""/> football
Drop-down list
<Select name = "c">
<Option value = ""> select </option>
<Option value = "hangzhou"> hangzhou </option>
<Option value = "changsha"> changsha </option>
</Select>
Button
<Input type = "submit" name = "submit" value = "submit"/>
<Input type = "button" name = "submit" value = "OK"/>
<Input type = "reset" name = "submit" value = "reset"/>
Browse
<Input type = "file" name = "s" value = ""/>
Text text box
<Textarea name = "s"> input protocol </textarea>
Window. status = "; displays information in the lower left corner of the page
Alert (window. screen. width) obtains the page focus Coordinate
Document. getElementById ("…"). InnerHTML = "..." Replace the content at the tag Interval Based on the tag property ID.
Forward, back page operation, 1 is forward,-1 is backward
Delete
Multiple full selection methods
Multiple verification techniques
This article is from the "Youth bag" blog