JavaScript tutorial - from entry to proficiency (6)

xiaoxiao2021-03-06  26

JavaScript Tutorial - From Getting Started to Soft (6) JavaScript Object System 3, the basic element of the document object (1) Form Property: Form Properties is corresponding to

... in the HTML document A set of objects created by the HTML document, specified by Length. Reflect the number of forms created in this document via Document.Forms.Length. (2) Anchor property: Anchors This property contains all the statement identifiers of all the labeled Name = .... The number of all anchors is saved in Document.Anchors.Length. (3) Link Properties: The LINKS link attribute refers to the number of specified by HREF = ... in the document, and the number of links is stored in Document.Links.Length. Third, Tang Example 1: Let's explain the integrated application of the document object by an example. The output results are shown in Figure 6-2. TEST6_2.HTM

Please enter the data: Link to the first text
link to the second text Link to the third text
First anchor point Second anchor The third anchor point