Recently from ExtJS to write items, HTML (5)/css (3) is naturally familiar, so be quick to review the basics.In the process of review, always feel that some knowledge will always forget, the following record down:(All content in this article is not related to H5 and CSS3)three types of CSS:Where can
n HTML annotationsNote: The comment content is not displayed, and the comment is for future maintenance.n photo hotspots (image map)Image hotspot: Add multiple links to a picture, and by default, only one link can be added to a picture.1. Marking structure:2. Common Properties of
Shape: Shapes of hot regions, values: Rect (Rectangle), Circle (Circle), Polygon (polygon)
Coords: Coordinates of the hot zone (position)
L if Shape=rect,
important to note that the
For example, set the hyperlink in frame B to the value of a, and then the C frame's Name property is a to achieve the navigation effect, and the hyperlinks in B are shown in the C frame
Css
CSS is to wrap the label's style together in the head or in a separate CSS file, and then
About the naming conventions for
screen, as well as the adjustment of the window, can result in different results. For HTML, you cannot change the effect of the output by adding extra spaces or line breaks in the HTML code. When a page is displayed, the browser removes extra spaces and blank lines from the source code. All contiguous spaces or blank lines are counted as a single space. Note that all consecutive empty lines (line breaks) i
to the Window object. For example://Here you can use Window.carname7. HTML events can be browser behavior or user behavior.8. typeof Operator:typeof "John" //return stringtypeof 3.14 //return numbertypeof false //return Booleantypeof [1,2,3,4] //return to obj ECT9. Date functionGetDate () Returns the day of the one month (1 ~ 31) from the Date object. GetDay () Returns the day of the week (0
are not supported.CSS(cascading style Sheets) cascading style sheets, the core of which is the definition and use of various styles!How CSS is defined:1, through the definition of HTML tags, such as: H1{color:blue; Text-align:center};2, the use of the definition of ID, such as: #sample {font-size:60pt; font-family: Arial},3, using class definition, such as:. Text{color:red},How
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.