整合营销服务商

电脑端+手机端+微信端=数据同步管理

免费咨询热线:

了解浏览器的内涵

了解浏览器的内涵

ello,大家好啊,早安,今天有空看到浏览器,大家帮忙翻译一下哈哈,谢谢了。

  1. img#img1.imgg
    1. accessKey: ""
    2. align: ""
    3. alt: ""
    4. ariaAtomic: null
    5. ariaAutoComplete: null
    6. ariaBusy: null
    7. ariaChecked: null
    8. ariaColCount: null
    9. ariaColIndex: null
    10. ariaColSpan: null
    11. ariaCurrent: null
    12. ariaDescription: null
    13. ariaDisabled: null
    14. ariaExpanded: null
    15. ariaHasPopup: null
    16. ariaHidden: null
    17. ariaKeyShortcuts: null
    18. ariaLabel: null
    19. ariaLevel: null
    20. ariaLive: null
    21. ariaModal: null
    22. ariaMultiLine: null
    23. ariaMultiSelectable: null
    24. ariaOrientation: null
    25. ariaPlaceholder: null
    26. ariaPosInSet: null
    27. ariaPressed: null
    28. ariaReadOnly: null
    29. ariaRelevant: null
    30. ariaRequired: null
    31. ariaRoleDescription: null
    32. ariaRowCount: null
    33. ariaRowIndex: null
    34. ariaRowSpan: null
    35. ariaSelected: null
    36. ariaSetSize: null
    37. ariaSort: null
    38. ariaValueMax: null
    39. ariaValueMin: null
    40. ariaValueNow: null
    41. ariaValueText: null
    42. assignedSlot: null
    43. attributeStyleMap: StylePropertyMap {size: 0}
    44. attributes: NamedNodeMap {0: class, 1: id, 2: src, class: class, id: id, src: src, length: 3}
    45. autocapitalize: ""
    46. autofocus: false
    47. baseURI: "http://127.0.0.1:8848/%E6%B7%B1%E6%B0%B8%E6%81%92/index.html"
    48. border: ""
    49. childElementCount: 0
    50. childNodes: NodeList []
    51. children: HTMLCollection []
    52. classList: DOMTokenList ["imgg", value: "imgg"]
    53. className: "imgg"
    54. clientHeight: 200
    55. clientLeft: 0
    56. clientTop: 0
    57. clientWidth: 200
    58. complete: true
    59. contentEditable: "inherit"
    60. crossOrigin: null
    61. currentSrc: "http://127.0.0.1:8848/%E6%B7%B1%E6%B0%B8%E6%81%92/img/Ps123.Net_0001.jpg"
    62. dataset: DOMStringMap {}
    63. decoding: "auto"
    64. dir: ""
    65. draggable: true
    66. elementTiming: ""
    67. enterKeyHint: ""
    68. firstChild: null
    69. firstElementChild: null
    70. height: 200
    71. hidden: false
    72. hspace: 0
    73. id: "img1"
    74. innerHTML: ""
    75. innerText: ""
    76. inputMode: ""
    77. isConnected: true
    78. isContentEditable: false
    79. isMap: false
    80. lang: ""
    81. lastChild: null
    82. lastElementChild: null
    83. loading: "auto"
    84. localName: "img"
    85. longDesc: ""
    86. lowsrc: ""
    87. name: ""
    88. namespaceURI: "http://www.w3.org/1999/xhtml"
    89. naturalHeight: 750
    90. naturalWidth: 1000
    91. nextElementSibling: img.imgg
    92. nextSibling: text
    93. nodeName: "IMG"
    94. nodeType: 1
    95. nodeValue: null
    96. nonce: ""
    97. offsetHeight: 200
    98. offsetLeft: 10
    99. offsetParent: body
    100. offsetTop: 137
    101. offsetWidth: 200
    102. onabort: null
    103. onanimationend: null
    104. onanimationiteration: null
    105. onanimationstart: null
    106. onauxclick: null
    107. onbeforecopy: null
    108. onbeforecut: null
    109. onbeforepaste: null
    110. onbeforexrselect: null
    111. onblur: null
    112. oncancel: null
    113. oncanplay: null
    114. oncanplaythrough: null
    115. onchange: null
    116. onclick: null
    117. onclose: null
    118. oncontextmenu: null
    119. oncopy: null
    120. oncuechange: null
    121. oncut: null
    122. ondblclick: null
    123. ondrag: null
    124. ondragend: null
    125. ondragenter: null
    126. ondragleave: null
    127. ondragover: null
    128. ondragstart: null
    129. ondrop: null
    130. ondurationchange: null
    131. onemptied: null
    132. onended: null
    133. onerror: null
    134. onfocus: null
    135. onformdata: null
    136. onfullscreenchange: null
    137. onfullscreenerror: null
    138. ongotpointercapture: null
    139. oninput: null
    140. oninvalid: null
    141. onkeydown: null
    142. onkeypress: null
    143. onkeyup: null
    144. onload: null
    145. onloadeddata: null
    146. onloadedmetadata: null
    147. onloadstart: null
    148. onlostpointercapture: null
    149. onmousedown: null
    150. onmouseenter: null
    151. onmouseleave: null
    152. onmousemove: null
    153. onmouseout: null
    154. onmouseover: null
    155. onmouseup: null
    156. onmousewheel: null
    157. onpaste: null
    158. onpause: null
    159. onplay: null
    160. onplaying: null
    161. onpointercancel: null
    162. onpointerdown: null
    163. onpointerenter: null
    164. onpointerleave: null
    165. onpointermove: null
    166. onpointerout: null
    167. onpointerover: null
    168. onpointerrawupdate: null
    169. onpointerup: null
    170. onprogress: null
    171. onratechange: null
    172. onreset: null
    173. onresize: null
    174. onscroll: null
    175. onsearch: null
    176. onseeked: null
    177. onseeking: null
    178. onselect: null
    179. onselectionchange: null
    180. onselectstart: null
    181. onstalled: null
    182. onsubmit: null
    183. onsuspend: null
    184. ontimeupdate: null
    185. ontoggle: null
    186. ontransitioncancel: null
    187. ontransitionend: null
    188. ontransitionrun: null
    189. ontransitionstart: null
    190. onvolumechange: null
    191. onwaiting: null
    192. onwebkitanimationend: null
    193. onwebkitanimationiteration: null
    194. onwebkitanimationstart: null
    195. onwebkitfullscreenchange: null
    196. onwebkitfullscreenerror: null
    197. onwebkittransitionend: null
    198. onwheel: null
    199. outerHTML: "<img class="imgg" id="img1" src="img/Ps123.Net_0001.jpg">"
    200. outerText: ""
    201. ownerDocument: document
    202. parentElement: div.zhongbu
    203. parentNode: div.zhongbu
    204. part: DOMTokenList [value: ""]
    205. prefix: null
    206. previousElementSibling: null
    207. previousSibling: text
    208. referrerPolicy: ""
    209. scrollHeight: 200
    210. scrollLeft: 0
    211. scrollTop: 0
    212. scrollWidth: 200
    213. shadowRoot: null
    214. sizes: ""
    215. slot: ""
    216. spellcheck: true
    217. src: "http://127.0.0.1:8848/%E6%B7%B1%E6%B0%B8%E6%81%92/img/Ps123.Net_0001.jpg"
    218. srcset: ""
    219. style: CSSStyleDeclaration {alignContent: "", alignItems: "", alignSelf: "", alignmentBaseline: "", all: "", …}
    220. tabIndex: -1
    221. tagName: "IMG"
    222. textContent: ""
    223. title: ""
    224. translate: true
    225. useMap: ""
    226. vspace: 0
    227. width: 200
    228. x: 15
    229. y: 206
    230. __proto__: HTMLImageElement

TML 属性

HTML 标签可以拥有属性。属性提供了有关 HTML 元素的更多的信息。

属性总是以名称/值对的形式出现,比如:name="value"。

属性总是在 HTML 元素的开始标签中规定。

属性实例

HTML 链接由 <a> 标签定义。链接的地址在 href 属性中指定:

[demo]

<html>

<head>

<meta charset="UTF-8">

</head>

<body>

<a href="http://www.w3school.com.cn">

This is a link</a>

</body>

</html>

[/demo]

更多 HTML 属性实例

属性例子 1:

<h1> 定义标题的开始。

<h1 align="center"> 拥有关于对齐方式的附加信息。

[demo]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

"http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>

<meta charset="UTF-8">

</head>

<body>

<h1 align="center">This is heading 1</h1>

<p>上面的标题在页面中进行了居中排列。上面的标题在页面中进行了居中排列。上面的标题在页面中进行了居中排列。</p>

</body>

</html>

[/demo]

属性例子 2:

<body> 定义 HTML 文档的主体。

<body bgcolor="yellow"> 拥有关于背景颜色的附加信息。

[demo]

<html>

<head>

<meta charset="UTF-8">

<meta http-equiv="Content-Type" content="text/html />

<meta http-equiv="Content-Language" content="zh-cn" />

</head>

<body bgcolor="yellow">

<h2>请看: 改变了颜色的背景。</h2>

</body>

</html>

[/demo]

属性例子 3:

<table> 定义 HTML 表格。(您将在稍后的章节学习到更多有关 HTML 表格的内容)

<table border="1"> 拥有关于表格边框的附加信息。

HTML 提示:使用小写属性

属性和属性值对大小写不敏感。

不过,万维网联盟在其 HTML 4 推荐标准中推荐小写的属性/属性值。

而新版本的 (X)HTML 要求使用小写属性。

始终为属性值加引号

属性值应该始终被包括在引号内。双引号是最常用的,不过使用单引号也没有问题。

在某些个别的情况下,比如属性值本身就含有双引号,那么您必须使用单引号,例如:

name='Bill "HelloWorld" Gates'

下面列出了适用于大多数 HTML 元素的属性:

属性 值 描述

class classname 规定元素的类名(classname)

id id 规定元素的唯一 id

style style_definition 规定元素的行内样式(inline style)

title text 规定元素的额外信息(可在工具提示中显示)

HTML 全局属性

HTML 属性赋予元素意义和语境。

下面的全局属性可用于任何 HTML 元素。

HTML 全局属性

属性 描述

accesskey 规定激活元素的快捷键。

class 规定元素的一个或多个类名(引用样式表中的类)。

contenteditable 规定元素内容是否可编辑。

contextmenu 规定元素的上下文菜单。上下文菜单在用户点击元素时显示。

data-* 用于存储页面或应用程序的私有定制数据。

dir 规定元素中内容的文本方向。

draggable 规定元素是否可拖动。

dropzone 规定在拖动被拖动数据时是否进行复制、移动或链接。

hidden 规定元素仍未或不再相关。

id 规定元素的唯一 id。

lang 规定元素内容的语言。

spellcheck 规定是否对元素进行拼写和语法检查。

style 规定元素的行内 CSS 样式。

tabindex 规定元素的 tab 键次序。

title 规定有关元素的额外信息。

translate 规定是否应该翻译元素内容。

HTML 事件属性

Window 事件属性

针对 window 对象触发的事件(应用到 <body> 标签):

属性 值 描述

onafterprint script 文档打印之后运行的脚本。

onbeforeprint script 文档打印之前运行的脚本。

onbeforeunload script 文档卸载之前运行的脚本。

onerror script 在错误发生时运行的脚本。

onhaschange script 当文档已改变时运行的脚本。

onload script 页面结束加载之后触发。

onmessage script 在消息被触发时运行的脚本。

onoffline script 当文档离线时运行的脚本。

ononline script 当文档上线时运行的脚本。

onpagehide script 当窗口隐藏时运行的脚本。

onpageshow script 当窗口成为可见时运行的脚本。

onpopstate script 当窗口历史记录改变时运行的脚本。

onredo script 当文档执行撤销(redo)时运行的脚本。

onresize script 当浏览器窗口被调整大小时触发。

onstorage script 在 Web Storage 区域更新后运行的脚本。

onundo script 在文档执行 undo 时运行的脚本。

onunload script 一旦页面已下载时触发(或者浏览器窗口已被关闭)。

Form 事件

由 HTML 表单内的动作触发的事件(应用到几乎所有 HTML 元素,但最常用在 form 元素中):

属性 值 描述

onblur script 元素失去焦点时运行的脚本。

onchange script 在元素值被改变时运行的脚本。

oncontextmenu script 当上下文菜单被触发时运行的脚本。

onfocus script 当元素失去焦点时运行的脚本。

onformchange script 在表单改变时运行的脚本。

onforminput script 当表单获得用户输入时运行的脚本。

oninput script 当元素获得用户输入时运行的脚本。

oninvalid script 当元素无效时运行的脚本。

onreset script 当表单中的重置按钮被点击时触发。HTML5 中不支持。

onselect script 在元素中文本被选中后触发。

onsubmit script 在提交表单时触发。

Keyboard 事件

属性 值 描述

onkeydown script 在用户按下按键时触发。

onkeypress script 在用户敲击按钮时触发。

onkeyup script 当用户释放按键时触发。

Mouse 事件

由鼠标或类似用户动作触发的事件:

属性 值 描述

onclick script 元素上发生鼠标点击时触发。

ondblclick script 元素上发生鼠标双击时触发。

ondrag script 元素被拖动时运行的脚本。

ondragend script 在拖动操作末端运行的脚本。

ondragenter script 当元素元素已被拖动到有效拖放区域时运行的脚本。

ondragleave script 当元素离开有效拖放目标时运行的脚本。

ondragover script 当元素在有效拖放目标上正在被拖动时运行的脚本。

ondragstart script 在拖动操作开端运行的脚本。

ondrop script 当被拖元素正在被拖放时运行的脚本。

onmousedown script 当元素上按下鼠标按钮时触发。

onmousemove script 当鼠标指针移动到元素上时触发。

onmouseout script 当鼠标指针移出元素时触发。

onmouseover script 当鼠标指针移动到元素上时触发。

onmouseup script 当在元素上释放鼠标按钮时触发。

onmousewheel script 当鼠标滚轮正在被滚动时运行的脚本。

onscroll script 当元素滚动条被滚动时运行的脚本。

Media 事件

由媒介(比如视频、图像和音频)触发的事件(适用于所有 HTML 元素,但常见于媒介元素中,比如 <audio>、<embed>、<img>、<object> 以及 <video>):

属性 值 描述

onabort script 在退出时运行的脚本。

oncanplay script 当文件就绪可以开始播放时运行的脚本(缓冲已足够开始时)。

oncanplaythrough script 当媒介能够无需因缓冲而停止即可播放至结尾时运行的脚本。

ondurationchange script 当媒介长度改变时运行的脚本。

onemptied script 当发生故障并且文件突然不可用时运行的脚本(比如连接意外断开时)。

onended script 当媒介已到达结尾时运行的脚本(可发送类似“感谢观看”之类的消息)。

onerror script 当在文件加载期间发生错误时运行的脚本。

onloadeddata script 当媒介数据已加载时运行的脚本。

onloadedmetadata script 当元数据(比如分辨率和时长)被加载时运行的脚本。

onloadstart script 在文件开始加载且未实际加载任何数据前运行的脚本。

onpause script 当媒介被用户或程序暂停时运行的脚本。

onplay script 当媒介已就绪可以开始播放时运行的脚本。

onplaying script 当媒介已开始播放时运行的脚本。

onprogress script 当浏览器正在获取媒介数据时运行的脚本。

onratechange script 每当回放速率改变时运行的脚本(比如当用户切换到慢动作或快进模式)。

onreadystatechange script 每当就绪状态改变时运行的脚本(就绪状态监测媒介数据的状态)。

onseeked script 当 seeking 属性设置为 false(指示定位已结束)时运行的脚本。

onseeking script 当 seeking 属性设置为 true(指示定位是活动的)时运行的脚本。

onstalled script 在浏览器不论何种原因未能取回媒介数据时运行的脚本。

onsuspend script 在媒介数据完全加载之前不论何种原因终止取回媒介数据时运行的脚本。

ontimeupdate script 当播放位置改变时(比如当用户快进到媒介中一个不同的位置时)运行的脚本。

onvolumechange script 每当音量改变时(包括将音量设置为静音)时运行的脚本。

onwaiting script 当媒介已停止播放但打算继续播放时(比如当媒介暂停已缓冲更多数据)运行脚本

indows操作系统里自带了很多功能,有些功能用户可能永远都用不到,有些功能却天天会接触到。其中关于系统声音的选项,用户每天都可能根据需要进行调整。但是由于每一个用户的使用习惯不一样,自然选择的调整方式会千差万别。那么我们如何才能选择一种最适合自己的管理方式呢?

使用快捷键切换声音设备

有些用户可能会在电脑系统中同时接入音箱、耳机等多种不同的音频设备,虽然系统在右下角的选项设置里可以对这些设备进行切换,但是总的来说操作还是非常麻烦的。所以这里利用一个小工具,就可以通过快捷键的方式快速进行设备的切换操作。

我们首先下载运行

SoundSwitch 这款小工具(https://github.com/Belphemur/SoundSwitch),接着在弹出的窗口里面就可以看到当前系统所有接入的音频设备。其中“Playback”标签里面包括所有的音频输出设备,而“Recording”标签里面包括所有的音频输入设备。

接下来在“Playback”标签里面,将需要快速切换的设备都选上,然后在窗口的左下角就可以看到一个快捷键的输入框,用户可以根据自己的需要进行设置,或者直接采取默认的快捷键进行操作就可以了。以后要切换音频设备的时候只需要按下这个快捷键,就可以在几个不同的设备中轮流切换了。

小提示:按照类似的方法在“Playback”标签里面设置,就可以在多个音频输入设备里面进行切换。

音量大小的快速调节设置

使用过品牌电脑或者笔记本电脑的用户都知道,很多电脑附带的键盘上都有几个快捷键。通过这些快捷键就可以完成很多常用功能的快速调节,这其中就包括音量大小的调整设置。但是对于使用普通键盘的用户来说,则没有这些相应的快捷键可以选择。那么办公用户该如何实现类似的操作呢?

首先下载运行“Master Volume Hotkey Controller”这款小工具(https://2xdsoft.de.tl),打开它以后,可以看到该工具已经默认为用户预设了几个快捷键。其中F11 键和F12键可以进行音量大小的提升或者降低,F9键和F10键则用于设置系统静音以及解除系统静音。

如果这些快捷键被其他的工具所占用,那么我们可以点击“set hotkeys”按钮后,再按下需要的快捷键进行自定义操作。接下来在“Increase / decrease mode”里面调整音量变化的幅度设置,该工具为用户提供了1%、3%、8%三个不同的预设方案。如果这几个预设方案都不满意,可以点击“Mode settings”按钮进行自定义设置。

通常用户都是利用快捷键缓慢地进行音量的调整,但如果想一步到位的话,也可以点击“Special hotkeys”按钮进行相应的设置。在弹出的对话框里面点击“Special hotkey #1”按钮,点击“Set special hotkey”按钮进行快捷键的设置操作。

接下来勾选“Relative”选项,然后根据需要选择是增加音量还是降低音量,并且设置相应的幅度。最后点击OK按钮就完成了这个快捷键的设置,以后用户只需要按下这个快捷键就可以实现音量一步到位的设置。

小提示:用户在按下快捷键的时候,该工具会有一个特效音提示,如果用户不喜欢这个声音的话,可以去掉“Tick sound on volume change”这个选项。

独一无二的声音好玩吧?国庆长假马上就要结束了,小狮子也会多多找点技巧类文章分享,预热预热,准备新一轮的战斗哟!

小狮子最喜欢的鸡腿 分割线