html快速編寫

來源:互聯網
上載者:User

標籤:row   tar   elf   cell   開始   數列   tle   $*   sel   

1. 嵌套操作----------  子操作: >  div>ul>li  <div>    <ul>        <li></li>    </ul></div>  並列:+  div+ul>li  <div></div><ul>    <li></li></ul>  上級:^  ul>li^div  <ul>    <li></li></ul><div></div>  ul>li>a^^div 上級多層  <ul>    <li><a href=""></a></li></ul><div></div>  重複:*  ul>li*3  <ul>    <li></li>    <li></li>    <li></li></ul>  分組:()          div>(p>span)*2  <div>    <p><span></span></p>    <p><span></span></p></div>  2. 屬性操作----------  id和類  div#header+div.main+div#footer  <div id="header"></div><div class="main"></div><div id="footer"></div>  屬性值  a[title=test target=_self]  <a title="test" target="_self" href=""></a>  數列值:$  p.item$*3  <p class="item1"></p><p class="item2"></p><p class="item3"></p>  p.item$$*3  <p class="item01"></p><p class="item02"></p><p class="item03"></p>  數列操作符:@  [email protected]*3   @- = -1  <p class="item3"></p><p class="item2"></p><p class="item1"></p>  [email protected]*3  @3 = 從3開始3次  <p class="item3"></p><p class="item4"></p><p class="item5"></p>  [email protected]*3 @-3 = 3次後到3結束  <p class="item5"></p><p class="item4"></p><p class="item3"></p>  3. 字元操作----------          字元操作:{}  a{click}          <a href="">click</a>             a>{click}+span{me}  <a href="">click<span>me</span></a>  4. 預設元素----------  .header+.footer  ---------------  div.header+div.footer  ul>.item*3 -------------- ul>li.item*3  table>.row*4>.cell*3 -------------- table>tr.row*4>td.cell*3    

html快速編寫

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.