日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

在html中插入图片

發布時間:2024/3/24 编程问答 38 豆豆
生活随笔 收集整理的這篇文章主要介紹了 在html中插入图片 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

在html中插入圖片

<!DOCTYPE html> <html><head><meta charset="utf-8" /><style>* {box-sizing: border-box;}body{margin: 0;font-family: Arial;padding: 10px;background: #f1f1f1;}.clearfix {overflow: auto;}.shadow_box{box-shadow: 0px 3px 10px 1px #888888;}.up-leader {background-color: #333; list-style-type: none;text-align: center;position:sticky;margin: 0;padding: 0;}.up-leader li:not(.dropdown) {display: inline-block;font-size: 20px;padding: 20px;}.up-leader li a, .dropbtn{display: inline-block;color: white;text-align: center;padding: 14px 16px;text-decoration: none;}.up-leader li.dropdown{display: inline-block;font-size: 20px;padding: 20px;}.dropdown-content {display: none;position: absolute;background-color: #f9f9f9;min-width: 160px;box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);z-index: 1;}div.dropdown-content a {color:#000000;padding: 12px 16px;text-decoration: none;display: block;text-align: left;}.dropdown-content a:hover {background-color: #f1f1f1;}.dropdown:hover .dropdown-content {display:block;}div.sticky{position: sticky;top: 0;background:azure;text-align: center;}.img1{float:left;clear:both;position: relative;margin: 5px;padding: 5px;display: flex;justify-content: center;opacity: 0.8;overflow: auto;}.side-leader ul{list-style-type: 0;margin: 0;padding: 0;width: 7%;height: 100%;background-color:white ;box-shadow: 0px 0px 1px 0px #888888;position:fixed;overflow: auto;border-radius: 25px;}.side-leader ul li a{display: block;color:#000;padding: 8px 16px;text-decoration: none;font-family:"黑體";}li:hover{background-color: #555;color: white;}.leftcolumn{float: left;width: 8%;}.midcolumn { float: left;width: 50%;}/* 右列 */.rightcolumn {float: left;width: 25%;background-color: #f1f1f1;padding-left: 20px;}/* 偽圖像 */.fakeimg {/*background-color: #aaa;*/width: 852px;background: url(img/6.jpg);box-shadow:1px 3px 15px 1px #888888 ;padding: 20px;}/* 為文章添加卡片效果 */.card {background-color: white;padding: 20px;margin-top: 20px;/*box-shadow: 0px 0px 1px 0px #888888;*/}/* 清除列之后的浮動 */.row:after {content: "";display: table;clear: both;}/* 頁腳 */.footer {padding: 20px;text-align: center;background: #ddd;margin-top: 20px;}</style><title>XR官網</title></head><body><div class=" clearfix shadow_box"><img class="img1" src="img/4.png" width=100px height=100px/></div><div class="sticky "><ul class="up-leader"><li><a href="https://blog.csdn.net/XRTONY?spm=1000.2115.3001.5343">Home</a></li><li><a href="#news">News</a></li><li><a href="https://blog.csdn.net/XRTONY?spm=1000.2115.3001.5343">Contact</a></li><li class="dropdown"><a class="dropbtn" href="index.html">Our World</a><div class="dropdown-content"><a href="https://blog.csdn.net/XRTONY?spm=1000.2115.3001.5343">Link 1</a><a href="#">Link 2</a><a href="#">Link 3</a></div></li></ul><div class=" side-leader "><ul ><li><a href="https://blog.csdn.net/XRTONY?spm=1000.2115.3001.5343">核心科技</a></li><li><a href="index.html">黨政板塊</a></li><li><a href="index.html">經營情況</a></li><li><a href="index.html">未來發展</a></li><li><a href="index.html">聯系我們</a></li></ul></div></div><div class=""><div class="leftcolumn"><p></p></div><div class="midcolumn"><div class="card"><h2>星銳科技</h2><h5>科技造就未來</h5><div class="fakeimg" style="height:300px;"></div></div></div></div><!--<div class="row"><div class="leftcolumn"><p></p></div><div class="midcolumn"><div class="card"><h2>TITLE HEADING</h2><h5>Title description, Dec 7, 2017</h5><div class="fakeimg" style="height:200px;">Image</div><p>Some text..</p><p>Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco.</p></div><div class="card"><h2>TITLE HEADING</h2><h5>Title description, Sep 2, 2017</h5><div class="fakeimg" style="height:200px;">Image</div><p>Some text..</p><p>Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco.</p></div></div><div class="rightcolumn"><div class="card"><h2>About Me</h2><div class="fakeimg" style="height:100px;">Image</div><p>Some text about me in culpa qui officia deserunt mollit anim..</p></div><div class="card"><h3>Popular Post</h3><div class="fakeimg"><p>Image</p></div><div class="fakeimg"><p>Image</p></div><div class="fakeimg"><p>Image</p></div></div><div class="card"><h3>Follow Me</h3><p>Some text..</p></div></div></div><div class="footer"><h2>Footer</h2></div>--></body> </html>

總結

以上是生活随笔為你收集整理的在html中插入图片的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。