Common tags for HTML: Super Connection label A

Source: Internet
Author: User
Tags character set html form html tags relative port number

Description: Indicates the beginning or destination of the hyperlink.

Describe:

Label Properties

· AccessKey Sets or gets the shortcut keys for an object.

· ATOMICSELECTION Specifies whether elements and their contents can be selected uniformly in an invisible unit.

· Begin sets or gets the delay time before the timeline plays on the element.

· Canhavechildren gets a value that indicates whether the object can contain child objects.

· Canhavehtml gets a value that indicates whether an object can contain rich HTML tags.

· CharSet Sets or gets the character set used to decode the object.

· ClassName Sets or gets the class of the object.

· ClientHeight gets the height of the object, without calculating any margins, borders, scroll bars, or fillers that might be applied to the object.

· ClientLeft gets the distance between the Offsetleft property and the actual left side of the customer area.

· ClientTop gets the distance between the offsettop property and the actual top of the customer area.

· ClientWidth gets the width of the object, without calculating any margins, borders, scroll bars, or fillers that might be applied to the object.

· Contenteditable Sets or gets a string indicating whether the user can edit the contents of the object.

· Coords Sets or gets the coordinates of an object.

· DATAFLD Sets or gets the field specified by the Datasrc property that binds to the given data source of the specified object.

· DATASRC Sets or gets the data source used for data binding.

· Dir Sets or gets the reading order of the objects.

· Disabled sets or gets the state of the control.

· End Sets or gets the value that indicates the ending time of the element, or the element is set to a simple continuous stop time that is repeated.

· FirstChild gets a reference to the first child object of the ChildNodes collection of the object.

· Hash sets or gets the segment in the HREF attribute that follows the number "#".

· Hasmedia gets a Boolean value that indicates whether the element is a html+time media element.

· Hidefocus Sets or gets a value indicating whether the object explicitly indicates the focus.

· Host sets or gets the hostname and port number of the location or URL.

· Hostname Sets or gets the host name portion of the location or URL.

· HREF Sets or gets the destination URL or anchor point.

· Hreflang Sets or gets the language code of the object.

· ID gets the string that identifies the object.

· InnerHTML Sets or gets the HTML that is inside the start and end tags of an object.

· InnerText Sets or gets the text that is inside the start and end tags of an object.

· Iscontenteditable gets a value that indicates whether the user can edit the content of the object.

· Isdisabled gets a value that indicates whether the user can interact with the object.

· Ismultiline gets a value that indicates whether the object's contents are one row or multiple rows.

· isTextEdit gets whether this object can be used to create a TextRange object.

· Lang Sets or gets the language to use.

· Language Sets or gets the language in which the current script is written.

· LastChild gets a reference to the last child object in the ChildNodes collection of this object.

· Methods Sets or gets a list of HTTP methods supported by this object.

· Name Sets or gets the names of the objects.

· Nameprop gets the filename specified by the href or src attribute of the object.

· NextSibling gets a reference to the next sibling object for this object.

· NodeName gets the name of a particular node type.

· NodeType get the type of node you want.

· NodeValue Sets or gets the value of the node.

· Offsetheight Gets the height of the object relative to the layout or the parent coordinates specified by the parent coordinate offsetparent property.

· Offsetleft gets the left position of the calculation of the object relative to the layout or the parent coordinates specified by the Offsetparent property.

· Offsetparent gets a reference to the container object that defines the offsettop and Offsetleft properties of the object.

· Offsettop gets the calculated top position of the object relative to the layout or the parent coordinates specified by the offsettop property.

· Offsetwidth Gets the width of the object relative to the layout or the parent coordinates specified by the parent coordinate offsetparent property.

· Onoffbehavior gets an object that indicates whether the specified microsoft®directanimation® behavior is running.

· outerHTML Sets or gets the HTML form of the object and its contents.

· Outertext Sets or gets the text of an object.

· Ownerdocument Sets or gets the document object associated with the node.

· Parentelement gets the parent object in the object hierarchy.

· ParentNode gets the parent object in the document hierarchy.

· parentTextEdit Gets the container object in the document hierarchy that can be used to create the TextRange containing the original object.

· Pathname Sets or gets the file name or path specified by the object.

· Port Sets or gets the number of ports associated with the URL.

· PreviousSibling gets a reference to the previous sibling object for this object.

· Protocol sets or gets the protocol portion of the URL.

· ReadyState gets the current state of the object.

· RecordNumber gets the original record of the object being generated in the dataset.

· Rel Sets or gets the relationship between object and link purpose.

· Rev Sets or gets the relationship between the object and the purpose of the link.

· ScopeName gets the namespace defined for the element.

· ScrollHeight Gets the scrolling height of the object.

· ScrollLeft Sets or gets the left distance between the left edge of the object and the current visible content in the window.

· ScrollTop Sets or gets the distance between the top of the object and the top of the visible content in the window.

· ScrollWidth Gets the scrolling width of the object.

· Search sets or gets the part of the HREF attribute that follows the question mark.

· Shape sets or gets the shapes of the hyperlink regions in the image map.

· Sourceindex gets the order in which the object is located in the source order, that is, the object appearing in the all collection of document.

· Style sets the inline style for the setting element.

· SyncMaster Sets or gets whether the time container must be replayed synchronously on this element.

· Systembitrate gets the bps of approximately the available bandwidth in the system.

· Systemcaption indicates whether you want to display text instead of the audio portion of the demo.

· Systemlanguage indicates whether the given language is selected in the option settings on the user's computer.

· SYSTEMOVERDUBORSUBTITLE Specifies whether to render dubbing or subtitles for users who are viewing the demo but are unfamiliar with the language used for the audio being played.

· TabIndex Sets or gets the index that defines the Tab order of an object.

· TagName gets the label name of the object.

· Tagurn Sets or gets the Uniform Resource name (URN) specified in the namespace declaration.

· Target sets or gets which window or frame to display the target content to.

· Timecontainer Sets or gets the type of time line associated with an element.

· Title Sets or gets the object's consulting information (tooltips).

· Type Sets or gets the MIME type of the object.

· UniqueID gets the unique identifier that is automatically generated for the object.

· unselectable specifies that the element cannot be selected.

· Urn Sets or gets the urn of the target document.

Event

· OnActivate is triggered when an object is set to an active element.

· Onafterupdate is triggered on a data-bound object when the associated object in the data source object is successfully updated.

· The Onbeforeactivate object is triggered immediately before it is set to the current element.

· Onbeforecopy is fired in the source object before it is copied to the system Clipboard in Central.

· Onbeforecut-Zhong District is fired from the source object before it is deleted from the document.

· Onbeforedeactivate fires immediately before activeelement changes from the current object to other objects in the parent document.

· Onbeforeeditfocus is triggered before an object contained within an editable element enters the user interface activation state or when an editable container becomes a control check area.

· Onbeforepaste is triggered on the target object before pasting from the system Clipboard to the document in the selected area.

· Onbeforeupdate is triggered on a data-bound object before the associated object in the data source object is successfully updated.

· Onblur is triggered when an object loses input focus.

· OnClick triggers when the user clicks the object with the left mouse button.

· OnContextMenu is triggered when a user opens a context menu using the right mouse button to click the client area.

· Oncontrolselect is triggered when the user is about to make a control selection for the object.

· Oncopy triggers on the source element when the user replicates the object or selection and adds it to the system Clipboard.

· Oncut is triggered on the source element when the object or selection is deleted from the document and added to the system Clipboard.

· OnDblClick is triggered when the user double-clicks the object.

· OnDeactivate is triggered when the activeelement changes from the current object to another object in the parent document.

· Ondrag continues to fire on the source object when a drag operation is in progress.

· Ondragend triggers on the source object when the user releases the mouse after the drag operation finishes.

· OnDragEnter triggers on the target element when the user drags the object to a legitimate drag target.

· OnDragLeave triggers on the target object when the user moves the mouse out of the legitimate drag target during the drag operation.

· OnDragOver when a user drags an object across a legitimate drag target, it continues to trigger on the target element.

· Ondragstart triggers on the source object when the user starts dragging the text selection or when the object is selected.

· OnDrop triggers on the target object when the mouse button is released during the drag operation.

· Onerrorupdate is triggered on a data-bound object when an error occurs updating the associated data in the data source object.

· Onfocus is triggered when the object gets focus.

· Onfocusin is triggered before the element will be set to focus.

· Onfocusout triggers immediately after the focus is moved to the other element, triggering on the element that currently has focus.

· OnHelp is triggered when the user presses the F1 key when the browser is the current window.

· OnKeyDown is triggered when the user presses the keyboard key.

· OnKeyPress is triggered when the user presses a literal key.

· OnKeyUp is triggered when the user releases the keyboard key.

· Onlosecapture is triggered when the object loses mouse capture.

· OnMouseDown is triggered when a user clicks an object with any mouse button.

· Onmouseenter is triggered when the user moves the mouse pointer inside the object.

· OnMouseLeave is triggered when the user moves the mouse pointer out of an object boundary.

· OnMouseMove is triggered when the user moves the mouse over the object.

· onMouseOut is triggered when the user moves the mouse pointer out of an object boundary.

· onMouseOver is triggered when the user moves the mouse pointer inside the object.

· OnMouseUp is triggered when the user releases the mouse button while the mouse is over the object.

· OnMouseWheel is triggered when the mouse wheel button rotates.

· OnMove triggers when an object is moved.

· Onmoveend is triggered when the object stops moving.

· Onmovestart is triggered when the object begins to move.

· Onpaste triggers on the target object when the user pastes data to transfer data from the system Clipboard to the document.

· Onpropertychange is triggered when a property change occurs on an object that occurs on the object.

· onReadyStateChange is triggered when an object's state changes.

· OnResize is triggered when the size of the object is about to change.

· Onresizeend is triggered when the user changes the size of the object in the selection area of the control.

· Onresizestart is triggered when the user starts to change the size of the object in the control's check area.

· The Onselectstart object will be triggered when it is about to be selected.

· Ontimeerror is triggered unconditionally when a particular time error occurs, which is usually caused by setting the property to an invalid value.

Object

· Currentstyle represents the object formatting and styles specified in the global style sheet, inline styles, and HTML tag properties.

· Runtimestyle represents the format and style of objects that are above the formatting and styles specified by the global style sheet, inline styles, and HTML tag attributes.

· Style represents the current setting of all possible inline styles for a given element.

Comments

A element needs to specify an href or name attribute.

Both text and images can be included in the anchor. The image as an anchor has a border that indicates whether the link has been accessed. To avoid displaying this border, you can set the BORDER tag property of the IMG element to 0 or omit the BORDER label attribute. You can also use style sheet CSS to override the default appearance of a and IMG elements.

· Note that the Table object may not work properly when it is contained within a label.

If you apply time2 behavior to A element, the element becomes a link only when it is activated on the timeline. This element is available in the HTML and scripting of Microsoft Internet Explorer 3.0. This element is an inline element. This element requires closing the label.

Example

The following example uses the A-element link file, opens the file, includes the image as part of the link, defines the anchor, and invokes a function.

<p showhidetype= "Example" >showexample

<!--linked to the server. -->

<a href= "http://www.ddvip.com" > Bean Net Home </A>

<!--links to files in the same directory. -->

<a href= "Home.htm" >home.htm</A>

<!--Open the file in the window specified by TARGET. -->

<a target= "Viewer" href= "sample.htm" > Open in Window </A>

<!--the IMG element as part of the link. -->

<a href= "http://www.ddvip.com" > Links </A>

<!--link to anchor. -->

<a href= "#anchor" > Anchor </A>

<!--define an anchor. -->

<a name= "Anchor" >

<!--call JScript functions-->

<a href= "Javascript:window.open ()" > Links </A>

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.