Basic Knowledge
Html
1.text-align Baidu Encyclopedia
2. Writing HTML code requires indentation. Various text editors do not seem to have the function of carriage return indentation.
Indentation looks clear, not indented to write simple.
With the Dreamweaver code formatting function can simply add or remove indents, so it is better to see a person's preferences, team words to see the team's writing norms. HTML Object
1.HTML Label
Elements can provide meta information about the page (meta-information), such as descriptions and keywords for search engines and update frequencies.
The label is on the head of the document and contains no content. The label's properties define the name/value pairs associated with the document.
2.HTML Label
Isolate the user name from the surrounding text direction settings
3.HTML Label
The BDO element can override the default text direction.
4.HTML Label
Highlight part of text
5.HTML 5 Autofocus Properties
The text input field is set to get focus when the page loads
6.HTML DOM getElementById () method
Returns the element of the specified ID
7.HTML Title
The title (Heading) is defined by tags such as
8.HTML Label
The label defines the title of the document, which is required in all HTML documents.
9.HTML Label
Label defines the header of the document (introductory information)
10.HTML Alt Properties
The Alt property is a required property that provides alternate text when an image cannot be displayed. DOM Object
OnUnload Events
The OnUnload event occurs when the user exits the page.
OnUnload occurs when the user leaves the page (by clicking on a connection, submitting the form, closing the browser window, and so on). )
Note: The onunload event also triggers the page load event (+ onload event). CSS
1.CSS Cursor Property
Cursor property to specify the type of cursor to display (SHAPE)
2.CSS length unit: The difference between PX and PT
First understand the basic concept: PX is to represent pixel, pixels, is the screen to display the most basic points of data, and PT is point, is the printing industry commonly used units, equal to 1/72 inches.
3.CSS Margin-top Property
Sets the upper margin of an element
4. How to set a div's background color. This CSS doesn't work for me.
Background-color