class“ ”里面不是类别的名字吗......那“”里面的文章功用何在?
小弟懂了 ??!!
<style>body{ width:90%; margin:0 auto} #content{ overflow:auto; height:100%;} #nav,#feature,#footer{ background-color:#efefef; margin:1%;} .col1,.col2,.col3{ background-color:#efefef; width:31.3%px; float:left; margin:1%;} li{ display:inline; padding:0.5em;} #nav,#footer{ background-color:#efefef; padding:0.5em 0;} #feature,.article{ height:10em; margin-bottom:1em; background-color:#efefef;}</style><body><div id="header"><h1>Logo</h1><div id="nav"><ul><li>A</li><li>B</li><li>C</li><li>D</li><li>E</li></ul></div></div><div id="content"><div id="feature"><p>feature</p></div><div class="article col1"><p>col one</p>
<div class="aritcle_card">
<a class="aritcle_card_img" href="/ai/893">
<img src="https://img.php.cn/upload/ai_manual/000/000/000/175679989057215.png" alt="Sider">
</a>
<div class="aritcle_card_info">
<a href="/ai/893">Sider</a>
<p>多功能AI浏览器助手,帮助用户进行聊天、写作、阅读、翻译等</p>
<div class="">
<img src="/static/images/card_xiazai.png" alt="Sider">
<span>3159</span>
</div>
</div>
<a href="/ai/893" class="aritcle_card_btn">
<span>查看详情</span>
<img src="/static/images/cardxiayige-3.png" alt="Sider">
</a>
</div>
</div><div class="article col2"><p>col two</p></div><div class="article col3"><p>col three</p></div></div><div id="footer"><p>Copynight 2011</p><p><span>立即学习</span>“<a href="https://pan.quark.cn/s/cb6835dc7db1" style="text-decoration: underline !important; color: blue; font-weight: bolder;" rel="nofollow" target="_blank">前端免费学习笔记(深入)</a>”;</p></div></body>
.col1,.col2,.col3{ background-color:#efefef; width:31.3%px; float:left; margin:1%;} ?於 div class "article col1"和div class "col1" 差?在哪?... 因?小弟是??自?有些不懂得地方
?什?要?上要用div class "article col1" 意?差在哪?
<div class="article col1"><p>col one</p></div><div class="article col2"><p>col two</p></div><div class="article col3"><p>col three</p></div>
?於 div class "article col1"和div class "col1" 差?在哪?... 因?小弟是??自?有些不懂得地方
?什?要?上要用div class "article col1" 意?差在哪?
<div class="article col1"><p>col one</p></div><div class="article col2"><p>col two</p></div><div class="article col3"><p>col three</p></div>
小弟懂了 ??!!
HTML怎么学习?HTML怎么入门?HTML在哪学?HTML怎么学才快?不用担心,这里为大家提供了HTML速学教程(入门课程),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号