HTML DOM Samp 对象
Samp 对象
Samp 对象代表 HTML<samp> 元素。
访问 Samp 对象
您可使用 getElementById() 来访问<samp> 元素:
创建 Samp 对象
您可使用 document.createElement() 方法来创建<samp> 元素:
标准属性和事件
相关页面
HTML 教程: HTML 文本格式化元素
HTML 参考手册: HTML<samp> 标签
Samp 对象代表 HTML<samp> 元素。
您可使用 getElementById() 来访问<samp> 元素:
您可使用 document.createElement() 方法来创建<samp> 元素:
HTML 教程: HTML 文本格式化元素
HTML 参考手册: HTML<samp> 标签