Questions about the name of the JS keyword

Source: Internet
Author: User

  Sometimes this is true: getElementById, IndexOf, charCodeAt, parsefloat, Navigator.appname, navigator.appversion/ Appcodename/cookieenable/useragent gives the impression that the first letter of the word is capitalized  

  Sometimes it's like this: FontSize, fontcolor give people the feeling is all lowercase     But sometimes this:innerhtml    can anyone tell me if there's any law in this? I don't think I'll be able to mix it up for a while. Wait for answers online!    //***** wait 10 minutes. No one answered, so I have to continue add today's content ****************/    accesskey properties   Copy code code as follows: & Lt;code class= "tag" style= "Color:green; margin:0px 0.1em; font-size:14px; Background-color:transparent "><</code><code class=" tag "style=" Color:green; margin:0px 0.1em; font-size:14px; Background-color:transparent ">a</code> id= ' mya ' <code class=" attr "style=" color:blue; margin:0px 0.1em; font-size:14px; Background-color:transparent ">href</code><code class=" tag "style=" Color:green; margin:0px 0.1em; font-size:14px; Background-color:transparent ">=</code><code class=" Attrvalue "style=" color:red; margin:0px 0.1em; font-size:14px; Background-color:transparent ">" </code><code class= "Attrvalue" style= "color:red"; margin:0px 0.1em; font-size:14px; Background-color:transparent ">" </code> <code class= "attr" style= "Color:blue"; margin:0px 0.1em; font-size:14px; Background-color:transparent ">accesskey</code><code class=" tag "style=" Color:green; margin:0px 0.1em; font-size:14px; Background-color:transparent ">=</code><code class=" Attrvalue "style=" color:red; margin:0px 0.1em; font-size:14px; Background-color:transparent ">" </code><code class= "Attrvalue" style= "color:red"; margin:0px 0.1em; font-size:14px; Background-color:transparent ">h</code><code class=" Attrvalue "style=" color:red; margin:0px 0.1em; font-size:14px; Background-color:transparent ">" </code><code class= "tag" style= "Color:green; margin:0px 0.1em; font-size:14px; Background-color:transparent ">></a></code>    Modify or assign this property to the JS code: Document.getelemntbyid (' #mya '). accesskey= ' d ';    The use of accesskey shortcuts in various browsers     IE browser     hold down the ALT key, Click accesskey defined shortcut key (focus will move to link), then press RETURN .    Firefox browser     hold ALT +Shift key, click accesskey Defined shortcut .    Chrome browser     hold down the ALT key, click accesskey Defined shortcut key .    Opera browser   & nbsp Hold down the SHIFT key and click ESC to select the list of accesskey shortcuts defined on this page .    Safari browser     hold down the ALT key and click accesskey defined shortcut key .   

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.