HTML is a markup language, mainly used to develop Web pages, using HTML to display text images, video, sound
Tim Berners: The father of the World Wide Web, founder,HTML designer
www:word wideweb ( World Wide Web )
The purpose of a Web browser is to read HTML documents and display them as Web pages.
-
html properties: Class style Title head Html Param Script title element does not support these properties.
tags that should be avoided:<center>, <font>,<basefont>,<s>,<strike> <u>; properties that should be avoided:align,bgcolor,color
if you want to HTML file is validated correctly, the appropriate DTD is added to the first line of the file
1) <! DOCTYPE HTML PUBLIC "-///w3c//dtd HTML 4.0.1//en" "HTTP://WWW.W3.ORG/TR/HTML4/STRICT.DD" > : Contains elements and attributes that are not used or are not in the present frame
2) <! DOCTYPE HTML PUBLIC "-///w3c//dtd HTML 4.0.1 transitional//en" "Http://www.w3.org/TR/html4/loose.dd" >: Contains all content in strict, plus elements and attributes that are opposed to use
3) <! DOCTYPE HTML Public "-//w3c//dtdhtml 4.01 frameset//en" "Http://www.w3.org/TR/html4/frameset.dtd" >: Contains 2 ), plus support for the framework
8. Some special symbols:
and No.:&<br>
quotation marks:"<br>
Apostrophe:'<br>
points:¢<br>
lbs:£<br>
JPY:¥<br>
Copyright:©<br>
registered trademarks:®<br>
multiplication sign:×<br>
Division sign:÷<br>
9. According to the HTML standard, only a few tags in the HTML header is legal:<base>,<link>,<meta>,<style> <script>
. URL(uniform resouce Locator): Uniform Resource Locator, a full URL, following the rules:scheme://host.domain:port/ Path/filename
Scheme: defines the type of Internet service. The most popular is the http
Domain: Define Internet domain names
Host: Defines the hosts in this domain, the default HTTP -enabled host is www
Port: defines the port number of the host. The default port number is 80
Path: Define the paths on the server
FileName: Define the name of the document
The types of scheme are:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4B/77/wKiom1QtZriCCofwAADfIAm4Fxk452.jpg "style=" float: none; "Title=" 1 (1). jpg "alt=" wkiom1qtzriccofwaadfiam4fxk452.jpg "/>
11.<noscript> defines alternative text in cases where the script cannot be executed.
12.dir: Set text orientation,base,BR, frame,frameset,hr,iframe, The param and script elements do not support this property, and the options are ltr and RTL respectively from left to right and from right to the display text.
properties specific to thebody and frameset elements: onload,onunload, respectively, representing events that are executed when the document is loaded and unloaded;
13. The events of the form element are:
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/4B/79/wKioL1QtZufQJ_0zAADcGgdPGrU447.jpg "title=" 1 (1). PNG "style=" Float:none; "alt=" wkiol1qtzufqj_0zaadcggdpgru447.jpg "/>
Onselect: triggered when the text content of an element is selected.
14. Image event,onabort: Executes the script when the image load is interrupted
15. Keyboard Event: Invalid in the following elements:base, BDO, BR, Frame, frameset, head, HTML, iframe, Meta, param,script, style, and titl e element.
OnKeyDown: Executes when the keyboard is pressed, onkeypress: Executes when the keyboard is pressed and released,onkeyup: Executes the event when the keyboard is released
16. Mouse events: Invalid in the following elements:base, BDO, BR, Frame, frameset, head, HTML, iframe, Meta, param,script, style, title element.
The events are:onclick(mouse click),ondblclick(double-tap), onmousedown ( mouse down ), onmousemove (mouse drag),onmouseout(Execute script when the mouse pointer is moved out),onmouseover(mouse hover), onmouseup(mouse button is bounced to execute script)
17. Text formatting Tags:<b>(bold);<big>(large font size);<em>(emphasis, italic);<i> (italic); <small>(small character);<strong>(bold); <sub><sup> (subscript, superscript);< Ins>(insert Word, underline);<del>(delete word, where s,strike Two labels effect the same, but do not approve of using these two);<u > ( underline, not approved for use )
18. Computer Output Label:
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/4B/79/wKioL1QtZufCHfJuAAD0_V_vRsE275.jpg "title=" 1 (2). PNG "style=" Float:none; "alt=" wkiol1qtzufchfjuaad0_v_vrse275.jpg "/>
19. References and terminology definitions
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/4B/77/wKiom1QtZrjQ4L6fAAC9ocMLnqA439.jpg "title=" 1 (3). PNG "style=" Float:none; "alt=" wkiom1qtzrjq4l6faac9ocmlnqa439.jpg "/>
The 20.<map> tag defines a client-side image map. Image mapping refers to an image with a clickable area.
<mapname= "Planetmap" id= "Planetmap" >
<area shape= "Circle" coords= "180,139,14" href = "venus.html" alt= "Venus"/>
<area shape= "Circle" coords= "129,161,10" href = "mercur.html" alt= "Mercury"/>
<area shape= "rect" coords= "0,0,110,260" href = "sun.html" alt= "Sun"/>
</map>
This article is from "Tiger Brother's Blog" blog, please be sure to keep this source http://7613577.blog.51cto.com/7603577/1560427
Summary of HTML synthesis