HTML&CSS related articles index (1)

Source: Internet
Author: User
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

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.