知屋网

当前位置:首页 > 我爱学习 > 英语

Iframe用法的详细讲解

作者:opple 时间:2022-12-04 阅读:()

  getAttribute 获取指定标签属性的值。

  getAttributeNode 获取由 attribute.name 属性引用的 attribute 对象。

  getElementsByTagName 获取基于指定元素名称的对象集合。

  getExpression 获取给定属性的表达式。

  hasChildNodes 返回表明对象是否有子对象的值。

  insertAdjacentElement 在指定位置插入元素。

  insertAdjacentHTML 在指定位置的元素中插入给定的 HTML 文本。

  insertAdjacentText 在指定位置插入给定的文本。

  insertBefore 在文档层次中插入元素作为父对象的子结点。

  mergeAttributes 复制所有读/写标签属性到指定元素。

  normalize 合并邻接 TextNode 对象以便生成一个常规的文档对象模型。

  removeAttribute 删除对象的给定标签属性。

  removeAttributeNode 从对象中删除删除 attribute 对象。

  removeBehavior 分离元素的行为。

  removeChild 从元素上删除子结点。

  removeExpression 从指定属性中删除表达式。

  removeNode 从文档层次中删除对象。

  replaceAdjacentText 替换元素的邻接文本。

  replaceChild 用新的子元素替换已有的子元素。

  replaceNode 用其它元素替换对象。

  scrollIntoView 将对象滚动到可见范围内,将其排列到窗口顶部或底部。

  setActive 设置对象为当前对象而不将对象置为焦点。

  setAttribute 设置指定标签属性的值。

  setAttributeNode 设置 attribute 对象为对象的一部分。

  setExpression 设置指定对象的表达式。

  swapNode 交换文档层次中两个对象的位置。

  对象

  对象 描述

  runtimeStyle 代表了居于全局样式表、内嵌样式和 HTML 标签属性指定的格式和样式之上的对象的格式和样式。

  style 代表了给定元素所有可能的内嵌样式的当前设置。

  样式

  样式标签属性 样式属性描述

  ACCELERATOR accelerator 设置或获取表明对象是否包含快捷键的字符串。

  background-attachment backgroundAttachment 设置或获取背景图像如何附加到文档内的对象中。

  background-color backgroundColor 设置或获取对象内容后的颜色。

  background-position-x backgroundPositionX 设置或获取 backgroundPosition 属性的 x 坐标。

  background-position-y backgroundPositionY 设置或获取 backgroundPosition 属性的 y 坐标。

  behavior behavior 设置或获取 DHTML 行为的位置。

  border-bottom borderBottom 设置或获取对象下边框的属性。

  border-bottom-color borderBottomColor 设置或获取对象下边框的颜色。

  border-bottom-style borderBottomStyle 设置或获取对象下边框的样式。

  border-bottom-width borderBottomWidth 设置或获取对象下边框的宽度。

  border-color borderColor 设置或获取对象的边框颜色。

  border-left borderLeft 设置或获取对象左边框的属性。

  border-left-color borderLeftColor 设置或获取对象左边框的颜色。

  border-left-style borderLeftStyle 设置或获取对象左边框的样式。

  border-left-width borderLeftWidth 设置或获取对象左边框的宽度。

  border-right borderRight 设置或获取对象右边框的属性。

  border-right-color borderRightColor 设置或获取对象右边框的颜色。

  border-right-style borderRightStyle 设置或获取对象右边框的样式。

  border-right-width borderRightWidth 设置或获取对象右边框的宽度。

  border-style borderStyle 设置或获取对象上下左右边框的样式。

  border-top borderTop 设置或获取对象上边框的属性。

  border-top-color borderTopColor 设置或获取对象上边框的颜色。

  border-top-style borderTopStyle 设置或获取对象上边框的样式。

  border-top-width borderTopWidth 设置或获取对象上边框的宽度。

  border-width borderWidth 设置或获取对象上下左右边框的宽度。

  bottom bottom 设置或获取对象相对于文档层次中下个定位对象的底部的位置。

  clear clear 设置或获取对象是否允许在其左侧、右侧或两边放置浮动对象,以防下段文本显示在浮动对象上。

  clip clip 设置或获取定位对象的哪个部分可见。

  cursor cursor 设置或获取当鼠标指针指向对象时所使用的鼠标指针。

显示全部

收起

相关文章
精品推荐
猜你喜欢