1. Development preparation
Development tools intellij IDEA WebStorm eclipse dreamweaver notepad Reference Document w3c: http://www.w3school.com .cn/ 2.HTML syntax
Tag names and attributes are not case-sensitive. HTML entity characters Space:   <: < >: > &:& ":&quo1. Cross-platform HTML body structure This tag must exist
text 设置文字的颜色 bgcolor 设置背景颜色 background 设置背景图案 bgproperties 设置背景图案为固定 link 设置页面默认的链接颜色 alink 设置鼠标正在点击时的链接颜色 vlink 设置访问后的链接颜色 topmargin 设置页面上边局 leftmargin 设置页面左边距
>
: line break
: paragraph change
: pre-formatted, save text in the source code Format : list items : ordered list < hr>: Horizontal separator line Text label : n is 1~6, define six-level headings : italic : underline : font < tt>: printer text : small font label : large font label : text subscript : Text superscript Insert image src: URL path name of the image alt: text description (has three functions: display when the cursor stays on the image; display of text when the image is not loaded; basis for search engine crawling) width, height, border: width, height, edge. Hyperlinks and anchorsLink text href: link address, which can be absolute address, relative address, #anchor name. name: anchor name target: window name of the browser used to open the link _self: current window. _blank: New window. _parent: Parent window (in the frame). _top: Top window (in the frame). Table Table basic label align: Specify the table in the previous Typesetting position in the layer (leftcenterright) width, height, border: width, height, edge. cellspacing: The spacing between cells. cellpadding: the spacing between cell content and border. Table title Row label Header cell label< ;/th> Data cell label HTML frame structure (dividing the browser window into several sub-windows) frameset replaces . For subwindow content must be contained in a single tag . Frames can be nested. Form tags (used to collect interaction information) Form attributes name: name method: form information transmission method ( GET: the form content is appended to the URL, the length limit is 8196 and is an ASCII code value, no confidentiality/ POST: The form content is sent to the server along with the form body, no length limit) action: handler name, cannot be empty (empty: action="no"). target: similar to a link, indicating how to open it after submission. Input field type="text": text field. type="radio": radio button. type="checkbox": checkbox. type="button": ordinary button, which needs to be used in conjunction with scripts such as javascript. type="password": Password field. type="submit": Submit button. After submission, the form content is handed over to the action for processing. type="reset": button to reset form content. type="hidden": hidden field, not displayed. file, hidden, image, susbmit Drop-down list field list item Copyright statement: This article is an original article by the blogger and may not be reproduced without the blogger's permission.
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
2024-10-22 09:46:29
2024-10-13 13:53:41
2024-10-12 12:15:51
2024-10-11 22:47:31
2024-10-11 19:36:51
2024-10-11 15:50:41
2024-10-11 15:07:41
2024-10-11 14:21:21
2024-10-11 12:59:11
2024-10-11 12:17:31