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 .