Blogger Information
Blog 3
fans 0
comment 0
visits 1660
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
#makedown第二节 个人笔记
阿涛
Original
426 people have browsed it

makedown第二节

div#box 生成id div标签
例: <div id="box"></div>
div.acc 生成div class标签
例: <div class="niu"></div>

直接生成text内容
生成p标签 p{hello word}

<p>hello</p>

层级标签:
div>p>a
<div>
<p><a href=""></a></p>
</div>
评级标签(平级结构):
div+p+a 同级兄弟标签
<div></div>
<p></p>
<a href=""></a>

  1. div>p^a

<div>
<p>|</p>
</div>
<a href="|">|</a>
重复操作:

  • n 重复数量
    a*5 默认就是 <a href=""></a><a href=""></a><a href=""></a><a href=""></a

    ul>li*>a{我是链接}

    <ul>
    <li><a href="">我是链接</a></li>
    </ul>
    A标签属性:
    a[http://www.baidu.com]{百度}
    <a href="" http://www.baidu.com="">百度</a>

    [id=header]
    <div id="header"></div>
    ul>li{item$}*5
    <ul>
    <li>item1</li>
    <li>item2</li>
    <li>item3</li>
    <li>item4</li>
    <li>item5</li>
    </ul>

反向编号:
ul>li*5>a{dsada$@-5}
<ul>
<li><a href="">dsada9</a></li>
<li><a href="">dsada8</a></li>
<li><a href="">dsada7</a></li>
<li><a href="">dsada6</a></li>
<li><a href="">dsada5</a></li>
</ul>

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post