Blogger Information
Blog 27
fans 1
comment 2
visits 90503
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
Markdown 8种语法
          
Original
642 people have browsed it
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport"
  6. content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  7. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  8. <title>Document</title>
  9. </head>
  10. <body>
  11. <!--1. 标签与内容之间用{text}-->
  12. {text}
  13. <!-- 2. 属性和语法糖: `[attr]` -->
  14. [id=app]{app}
  15. <div id="app">app</div>
  16. <div id="app2">students</div>
  17. <div id="class">class</div>
  18. <div id="wonen">wonen</div>
  19. <div id="app3">app3</div>
  20. <div id="app4">app4</div>
  21. <div id="app5">app5</div>
  22. #app6{app6} 语法糖
  23. <div id="app7">app7</div>
  24. <!-- [class=title]{title} -->
  25. <div class="title">title</div>
  26. <div class="title1">title1</div>
  27. <div class="title2">title2</div>
  28. <div class="title3">title3</div>
  29. <div class="title4">title4</div>
  30. .title5{title5}语法糖
  31. <div class="title6">title6</div>
  32. <div class="title7">title</div>
  33. <!-- 3. 重复: `*` -->
  34. <!--.play{txt}*3 -->
  35. <div class="play">box</div>
  36. <div class="play">box</div>
  37. <div class="play">box</div>
  38. <!-- 4. 父子: `>` -->
  39. <!--ul>li{text}*3-->
  40. <ul>
  41. <li>text</li>
  42. <li>text</li>
  43. <li>text</li>
  44. </ul>
  45. <!--5. 兄弟 `+`-->
  46. <!--.a{atext}+p{text}-->
  47. <div class="a">txt</div>
  48. <p>t</p>
  49. <!--错误示范:.a{atext} + p{text} 不要有空格-->
  50. <h3></h3>
  51. <p>t</p>
  52. 6. 父级: `^`
  53. .a{父级}^p{子级}
  54. <div class="a">父级</div>
  55. <p>子级</p>
  56. <!-- 7. 分组: `(...)` -->
  57. .nav{导航栏目}>ul>li*3>a{栏目}
  58. <div class="nav">导航栏目
  59. <ul>
  60. <li><a href="">栏目</a></li>
  61. <li><a href="">栏目</a></li>
  62. <li><a href="">栏目</a></li>
  63. </ul>
  64. </div>
  65. <!-- 8. 序号: `$`,`$@` -->
  66. <!--ul>li*3>a{分组$} 默认从1 开始 $写完整就是$# 有序-->
  67. <ul>
  68. <li><a href="">分组1</a></li>
  69. <li><a href="">分组2</a></li>
  70. <li><a href="">分组3</a></li>
  71. </ul>
  72. <!--自定义起始序号-->
  73. ul>li{级别-$@7}*3
  74. <ul>
  75. <li>级别-7</li>
  76. <li>级别-8</li>
  77. <li>级别-9</li>
  78. </ul>
  79. <!--逆序: ul>li{item-$@-1}*3 -->
  80. ul>li{this-$@-1}*3
  81. <ul>
  82. <li>this-3</li>
  83. <li>this-2</li>
  84. <li>this-1</li>
  85. </ul>
  86. </body>
  87. </html>
Correcting teacher:PHPzPHPz

Correction status:qualified

Teacher's comments:
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