In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article focuses on "what are the BORDER features of border tags in JavaScript". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn "what are the BORDER features of border tags in JavaScript?"
Border
BORDER properties of markup
Complete indicates whether the browser has fully loaded a Boolean value for the image
Height HEIGHT characteristics
Hspace HSPACE characteristics
Lowsrc LOWSRC characteristics
Src SRC characteristics
VsPace VSPACE characteristics
Width WIDTH characteristics
Event handler
Onload image loading
Onerror loading error
Onabort cancel
B.16 images array
It is a property of the document object, a list of all the images in the document.
Attribute
The number of images in the length document
B.17 link
It is a property of the document object and a tag within the document.
Attribute
Hash A string that begins with a hash number (#) and is used to specify an anchor point within the URL
Host includes the hostname portion of the URL with colons and port numbers
Hostname has the same attributes as host, except for colons and port numbers
Href complete URL
The directory path section of pathname URL
Port URL: Port section
Protocol URL type (http:, ftp:, gopher:, and so on)
The part of a URL that starts with a question mark and specifies search information.
Target the window used to display the contents of the referenced document when the user clicks a link (TARGET property)
Event handler
Onclick Click
Onmouseover mouse over the object
B.18 links array
It is a property of the document object, a list of all links within the document.
Attribute
Number of links in an length document
B.19 location object
It is a property of the document object, the full URL of the document, so don't confuse it with the _ window.location property, which can be used to load a new document, and the _ window.location property itself is not an object, and _ window.location can be modified by script, but not _ document.location.
Attribute
Hash A string that begins with a hash number (#) and is used to specify an anchor point within the URL
Host includes the hostname portion of the URL with colons and port numbers
Hostname is the same as the host property, except for colons and port numbers
Href complete URL
The directory path section of pathname URL
Port URL: Port section
Type of protocol URL (http:, ftp:, gopher:, and so on)
Search with question mark (?) Part of the initial URL that specifies search information
The window that displays the contents of the referenced document when the target user clicks the link (TARGET property)
B.20 math object
This object is not a property of other objects, but a built-in object that contains many mathematical constants and functions.
Attribute
E Euler constant, the base of the natural logarithm (about 2.718)
The natural logarithm of LN2 2 (approximately 0.693)
The natural logarithm of LN10 10 (approximately 2.302)
The logarithm of e with base 2 in LOG2E (about 1.442)
The logarithm of e of LOG10E with base 10 (approximately equal to .434)
The value of PI ∏ (approximately 3.14159)
The square root of SQRT1_2 0.5 (that is, l divided by the square root of 2, approximately equal to .707)
The square root of SQRT2 2 (approximately 1.414)
Method
Abs () returns the absolute value of a number (that is, the distance between the number and o, for example, the absolute values of 2 and-2 are 2)
Acos () returns the inverse cosine of a number (in radians)
Asin () returns the arcsine of a number (in radians)
Atan () returns the arc tangent of a number (in radians)
Ceil () returns the smallest integer equal to, or greater than, a number (ceil (- 22.22) returns-22), returns 23 (22), returns 22)
Cos () returns the cosine of a number in radians
Exp () returns en
Floor () is opposite to ceil (floor (- 22.22) returns-23; floor (22.22) returns 22; floor (22) returns 22)
10g () returns the natural logarithm of a number (based on e)
Max () returns a larger value between two numbers
Min () returns the smaller value of two numbers.
Pow () returns the n power of m (where m is the base and n is the exponent)
Random () returns a pseudorandom number between 0 and 1 (this method is only in Netscape
Valid in the UNIX version of Navigator)
Round () returns an integer after a certain number is rounded
Sin () returns the sine of a number (in radians)
Sqrt () returns the square root of a number
Tan () returns the tangent of a number
B.2l navigator object
This object is not a property of another object, but a built-in object that contains information about the browser that loads the document.
Attribute
The code name of the appCodeName browser (for example, Mozilla)
The name of the appName browser
Version number of the appVersion browser
At this point, I believe you have a deeper understanding of "what are the BORDER features of border tags in JavaScript?" you might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.