<!DOCTYPE html><html><head></head><body><div id="outer"><input type="button" value="变宽">
<input type="button" value="变高">
<input type="button" value="变色">
<input type="button" value="隐藏">
<input type="button" value="重置">
<div id="inner"></div></div><p width="300px"></p><script>var op=document.getElementsByTagName("p")[0];op.style.border="2px solid yellow";op.style.cssText="";</script></body></html>window.onload=function() {模仿大神(http://fgm.cc/learn/lesson1/01.html)的代码做练习,结果我抄都没抄成功,请问是什么原因呢?
添加回答
举报
0/150
提交
取消