last year-this year,简单静态网页
来源:互联网 发布:数控镗床编程入门 编辑:程序博客网 时间:2024/06/05 06:47
做事要有始有终,去年放寒假想写个静态网页,没有写成,今年写了一点点出来,不想再往这个方向学习了,我累了,心情问题,想回头学习java,算法数据结构。心累,又有一个东西估计不玩了。比如服务器,心情不好真是致命伤,代码就勉为其难看看吧,瞎,,写,没有多大技术含量。
<html> <head> <style type="text/css"> #box3{border:0px;width:840px;height:500px;left:800px;position:relative;top:350px;} p a{text-decoration:underline;} img{width:280px; height:80px; position:absolute; left:540px; top:100px;} input{width:550px; height:41px; position:absolute; left:400px; top:200px; } #box{border:1px solid gray;position:absolute;width:840px; height:40px;left:270px; top:300px;} #box1{border:1px solid gray;position:absolute;width:840px; height:500px;left:270px; top:340px;} a{font-family:"宋体";font-size:15px} a2{font-family:"宋体";font-size:15px;position:relative;top:30px;} a1{font-family:"宋体";position:relative;top:10px;} </style> <body> <p>鄂州:27C <spanstyle="color:#99FF00;font-weight:bold">优</span> 42 | <a>换肤</a> <a>消息</a> <strong><a>新闻</a> <a>hao123</a> <a>地图</a> <a>视频</a> <a>贴吧</a> <a>学术</a></strong> <a>设置</a> 更多产品</p> <hr/> <img src="百度图片.jpg"/> <input type="text" name="search" name="image" /> <div id="box"><a1> 我的关注 推荐 导航</a1></div> <div id="box1"><a2>---------------以下信息根据您的兴趣推荐--------------</a2><br/> <br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/> 设为首页 2017百度使用前必读<br/><br/> 京公安网备11000002000001号</div> <div id="box3"><strong>实时热点</strong><br/><br/>困困困<br/> 饿饿饿<br/> 又困又饿<br/> 小哥哥在哪里啊 </div> </body> </head> </html>一个简单东西被我做复杂了,还有点问题没有解决,但是也巩固了点学的东西。
没有解决的问题:图片还有链接问题,还有服务器,动态网页js等。
巩固的知识:换行:<br/> 空格 ,位置控制,还有ur去点问题,咳咳咳起码还是做了点东西出来,比一无所获好,就是这样。