1. Disclaimer: <! Doctype> is not a label, just a declaration is currently HTML5 version HTML5: <! DOCTYPE html>
2. Document Structure <! DOCTYPE html>
3.HTML base tag: Head,body head includes: lang= "en" language is English (can be omitted) meta charset= "UTF-8", encoded format label:<title></title>
4. Title
5. Label 1) <p>: Define paragraph of text 2) <a>: Define hyperlink 3) <a hrefe= "http://baidu.com" > Baidu </a> 4) : Define image 5) < IMG src= "path" > 6) <br/>: Line break
6. Table Marker 1) The idea of merging: When merging multiple content, there will be superfluous things to delete, for example: There are three columns (3 TD), when merging you need to delete 2 columns, that is: number of deletions = number of merges-1 2) Stereoscopic table effect: Compare the bright border color of the table with the dark border color The table itself has a border, the cell itself has a border 3) thin-Line table effect Formula 1 border=0 The table itself, 2 to the table set the background color = = Thin Line Color 3 "to the table set the distance between cells = = Thin Line thickness 4) when <td></td> When there is no content, the default is not to display the border, if you want to see the addition of (space) can
7. Link Category 1) site link 2) Outbound link 3) Mail link 4) Anchor link----can jump to a location on a page
8.html Form marker 1) All form elements must be placed in the Form tab <form></form> 2) All table cells are in the case of input, and must contain the type attribute with the name attribute 3) Some of the attributes of the form element are similar 4) also some non-input elements as form elements
9. How to insert flash in a Web page: 1) automatically generate code from DW using the EMBED tag 2) <object>
10. Framework production process: 1. First Master frame file 2. Then make the included file 3. The include file is placed in the main frame 4 through the framework technology. If you also need to manipulate other files in the framework, you must also make links to other file frames: A. There is a target property, which is in its own window by default B. If the target of a link is a zone within a frame, you must give the zone a name, ID c. Embed Web pages----inline frames----iframe
HTML basic commands