Emmet 介紹 – 縮寫篇
縮寫這樣的編輯方式是Emmet的核心功能,可以在輸入簡短的代碼後轉換成結構複雜的HTML,而且使用方式跟使用CSS的選取器雷同,所以非常易於使用。例如:
page>div.logo+ul#navigation>li*5>a{Item $} ------ <div id="page"> <div class="logo"></div> <ul id="navigation"> <li><a href="">Item 1</a></li> <li><a href="">Item 2</a></li> <li><a href="">Item 3</a></li> <li><a href="">Item 4</a></li> <li><a href="">Item 5</a></li> </ul> </div>
以下分別介紹各種不同的縮寫撰寫模式
子結構:>
div>ul>li ------ <div> <ul> <li></li> </ul> </div>
同層結構:+
div+p+bq ------ <div></div> <p></p> <blockquote></blockquote>
上一層:^
div+div>p>span+em^bq ------ <div></div> <div> <p><span></span><em></em></p> <blockquote></blockquote> </div>
div+div>p>span+em^^^bq ------ <div></div> <div> <p><span></span><em></em></p> </div> <blockquote></blockquote>
乘法:*
ul>li*5 ------ <ul> <li></li> <li></li> <li></li> <li></li> <li></li> </ul>
分組:( )
div>(header>ul>li*2>a)+footer>p ------ <div> <header> <ul> <li><a href=""></a></li> <li><a href=""></a></li> </ul> </header> <footer> <p></p> </footer> </div>
(div>dl>(dt+dd)*3)+footer>p ------ <div> <dl> <dt></dt> <dd></dd> <dt></dt> <dd></dd> <dt></dt> <dd></dd> </dl> </div> <footer> <p></p> </footer>
項目編號:$
ul>li.item$*5 ------ <ul> <li class="item1"></li> <li class="item2"></li> <li class="item3"></li> <li class="item4"></li> <li class="item5"></li> </ul>
ul>li.item$$*5 ------ <ul> <li class="item001"></li> <li class="item002"></li> <li class="item003"></li> <li class="item004"></li> <li class="item005"></li> </ul>
ul>li.item$@-*5 ------ <ul> <li class="item5"></li> <li class="item4"></li> <li class="item3"></li> <li class="item2"></li> <li class="item1"></li> </ul>
ul>li.item$@3*5 ------ <ul> <li class="item3"></li> <li class="item4"></li> <li class="item5"></li> <li class="item6"></li> <li class="item7"></li> </ul>
ul>li.item$@-3*5 ------ <ul> <li class="item7"></li> <li class="item6"></li> <li class="item5"></li> <li class="item4"></li> <li class="item3"></li> </ul>
內容:{ }
a{Click me} ------ <a href="">Click me</a>
p>{Click }+a{here}+{ to continue} ------ <p>Click <a href="">here</a> to continue</p>
ID and Class
div#header+div.page+div#footer.class1.class2.class3 ------ <div id="header"></div> <div class="page"></div> <div id="footer" class="class1 class2 class3"></div>
自訂屬性
td[title="Hello world!" colspan=3] ------ <td title="Hello world!" colspan="3"></td>
maggenn baf94a4655 https://trello.com/c/5WuGK8PK/79-defence-your-organism-versi%C3%B3n-completa
wellwai baf94a4655 https://www.guilded.gg/nelimthofins-Troupe/overview/news/dlv9gnMR
valshan baf94a4655 https://trello.com/c/8K5FNJxN/48-mythos-ever-after-a-cthulhu-dating-sim-rx-versi%C3%B3n-pirateada-2021
eilwpry a60238a8ce https://coub.com/stories/4887172-grave-chase
leowils a60238a8ce https://coub.com/stories/4892523-mouse-mayhem-shooting-amp-racing-2021
kasroza a60238a8ce https://coub.com/stories/4891473-clandestine
ghistami a60238a8ce https://coub.com/stories/4895314-meridian-157-chapter-2
filikell a60238a8ce https://www.guilded.gg/reabinposas-Stars/overview/news/glbqZkNR
sophkenn a60238a8ce https://coub.com/stories/4888905-professor-lupo-and-his-horrible-pets
jemkayl ef2a72b085 https://wakelet.com/wake/ld2LUPy9IWYMUrr6ddNmA
laywine ef2a72b085 https://wakelet.com/wake/Dz7UACNi2jG77yFoMkflQ
quahasi ef2a72b085 https://wakelet.com/wake/T6kRyrh2DvS7MF7uw17LH
faibroo ef2a72b085 https://wakelet.com/wake/vwNZgiG1jQBXfjeX3OkXm
engerasm ef2a72b085 https://wakelet.com/wake/8_rPbveXc07ZsfaRz8FGg
jaeleeg ef2a72b085 https://wakelet.com/wake/JsrV8hFtEZOhxZWAfdo8e
edmbur ef2a72b085 https://wakelet.com/wake/UPhIfIxnUrEs48WYqMtH4
mackeza 63b95dad73 https://marketplace.visualstudio.com/items?itemName=smalik12.Brothers-In-Arms-Tamil-Dubbed-Mo
weysjame 63b95dad73 https://marketplace.visualstudio.com/items?itemName=bomberik.PATCHED-Memories-2013-Malayalam-Movie-Download
eadgil 63b95dad73 https://marketplace.visualstudio.com/items?itemName=violettee.Whats-New-In-Cumulative-Update-KB4489899-For-Windo-INSTALL
jemjar 63b95dad73 https://marketplace.visualstudio.com/items?itemName=gistgemeto.NEW-Bodyofliessubtitles
safrafa 63b95dad73 https://marketplace.visualstudio.com/items?itemName=VIPBich.Scirra-Construct-2-R239-Full-Crack-ngutfab
kayirvi 63b95dad73 https://marketplace.visualstudio.com/items?itemName=0naelipen-te.REPACK-Activar-Autocad-2013-Sin-Keygen-Crack
davfay 63b95dad73 https://marketplace.visualstudio.com/items?itemName=LLIyMeP.Rocco-Ne-Meurt-Jamais-Streaming-BETTER
carscan 63b95dad73 https://marketplace.visualstudio.com/items?itemName=latimer.Robozou-English-Uncensored-Swf-101-sarvana
tribrose 63b95dad73 https://marketplace.visualstudio.com/items?itemName=4sethacana.Weapon-Res-File-For-Igi-2-Covert-Strik-Rapidshare-2021
naiwand 63b95dad73 https://marketplace.visualstudio.com/items?itemName=playboy93.Advanced-Find-And-Replace-781-Cracked-dalicel
eidwdas 9ff3f182a5 https://www.kaggle.com/code/climazadti/extra-quality-bombon-el-perro-dvdrip-www-torre
geranewm 9ff3f182a5 https://www.kaggle.com/code/reaodivitho/sediv-2-3-5-0-hard-drive-repair-tool-crack-hot-1
warljose 9ff3f182a5 https://www.kaggle.com/code/erarwealsi/airlink101-awll3026-driver-download-tailies
mollfloy 7fe5556591 https://marketplace.visualstudio.com/items?itemName=sdbasdhf.PATCHED-Download-Film-Bajrangi-Bhaijaan-Sub-Indonesia-Movi