Div label and HTMLdiv label in HTML

Source: Internet
Author: User

Div label and HTMLdiv label in HTML

Some independent logical parts can be divided into one<Div>In the tag, the <div> tag serves as a container. To make the logic clearer, we can set a name for this independent logic partIdAttribute<Div>Provide a unique name. This is like every one of us has an ID card number. This ID card number uniquely identifies and must be unique.

Syntax:

<Div id = "Forum name">... </Div>



How to Use div labels in html

Brother, this is the keyword. How do you get this parameter when it is passed in? getLocation (1, this );

Also, since you have called the parameter, why do you still write this and not obj?

Alert (div. style. left );
Alert (this. style. left)

The second parameter is not used for writing like this. You just need to upload one.

Div tags in html

Baike.baidu.com/view/26140.htm? Fr = ala0_1_1
Baidu encyclopedia explained above. Very detailed.

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.