Emmet 網頁開發界的超跑


       <li><a href="#">選項1</a></li>
       <li><a href="#">選項2</a></li>
       <li><a href="#">選項3</a></li>
       <li><a href="#">選項4</a></li>
       <li><a href="#">選項5</a></li>
       <li><a href="#">選項6</a></li>



仔細看看應該不難發現HTML標籤名稱的部分都在縮寫裡面,只是利用>來區隔每一層,如果要多個同樣的標籤可以用*後來輸入個數,標籤內的屬性值是利用[ ]來包住,{ }是標籤內的值。


Emmet 官方網站截圖
Emmet 官方網站截圖


  • HTML from CSS:如果你已經對CSS的選取器有概念,那就已經知道Emmet該如何去縮寫你的HTML代碼。
  • Dynamic snippets:在使用縮寫的時候,只要稍微更動一些名稱,就可以得到截然不同的結果。
  • Ultra-fast coding:快速的編寫模式,可以快速選取標籤、移動游標、產生上一層或下一層結構。
  • Customizable:可以透過編輯JSON檔案來客製化一些程式碼。
  • Platform for new tools:透過編輯開放的程式碼,可以產生新的使用模式。
  • Highly portable:高度輕便可攜。


Emmet 支援的網頁編輯器

Emmet 支援的網頁編輯器



  • Tab:展開縮寫
  • Ctrl+Alt+→:將游標移動到下一個可以輸入屬性或值的地方。
  • Ctrl+Alt+←:將游標移動到上一個可以輸入屬性或值的地方。
  • Ctrl+D:選取一整個標籤(包含標籤的起始與結束)。
  • Shift+Ctrl+.:選取下一個標籤或屬性。
  • Shift+Ctrl+,:選取上一個標籤或屬性。
  • Ctrl+/:將選取的部分變成註解。


You may also like...

1,048 Responses

  1. Jwujsp表示:

    buy propranolol without a prescription buy plavix tablets how to buy clopidogrel

  2. Metal reclaiming center services Ferrous material sorting Iron waste recycling centers

    Ferrous metal recycler, Iron reclamation and repurposing center, Scrap metal sorting

  3. Mziyjj表示:

    help with essay writing write essay service buy essay paper

  4. Timsothyabela表示:

    скачать приложение пин ап
    pin up casino

  5. OLaneevige表示:

    Nice post. I learn something totally new and challenging on blogs I stumbleupon every day. It’s always useful to read articles from other writers and practice something from other sites.
    sports betting nfl

  6. OLaneevige表示:

    Appreciating the time and energy you put into your site and in depth information you provide. It’s awesome to come across a blog every once in a while that isn’t the same outdated rehashed information. Fantastic read! I’ve bookmarked your site and I’m including your RSS feeds to my Google account.
    bonus code hellspin

  7. Great site! I recommend to everyone!Checking Wallet

  8. Great site! I recommend to everyone!Checking AML

  9. OLaneevige表示:

    I loved as much as you will receive carried out right here. The sketch is tasteful, your authored subject matter stylish. nonetheless, you command get bought an nervousness over that you wish be delivering the following. unwell unquestionably come more formerly again as exactly the same nearly very often inside case you shield this increase.
    my stake casino no deposit bonus

  10. Xwkunf表示:

    methylprednisolone 8 mg oral methylprednisolone 8mg over the counter methylprednisolone 4 mg otc

  11. Lwkycr表示:

    buy toradol pill colcrys 0.5mg cost buy cheap colcrys

  12. GichardPheve表示:

    Nice post. I learn something new and challenging on sites I stumbleupon on a daily basis. It’s always helpful to read through content from other writers and practice a little something from their sites.
    aposta ganha 5 reais aviator

  13. StephenDeery表示:

    Hi there, its fastidious article about media print, we all be familiar with media is a impressive source of facts.
    mr jack/aviator

  14. Great site! I recommend to everyone!aimind

  15. Egiowt表示:

    buy generic atenolol 100mg tenormin 50mg cost buy atenolol 100mg pill

  16. Great site! I recommend to everyone!igaming consultancy

  17. Ismaelfer表示:

    Hi just wanted to give you a quick heads up and let you know a few of the pictures aren’t loading properly. I’m not sure why but I think its a linking issue. I’ve tried it in two different browsers and both show the same outcome.
    twin spin deluxe slots

  18. OLaneevige表示:

    Simply wish to say your article is as astonishing. The clearness in your post is simply cool and i can assume you are an expert on this subject. Fine with your permission let me to grab your RSS feed to keep updated with forthcoming post. Thanks a million and please continue the enjoyable work.
    slot gratis starburst

  19. Qimqkx表示:

    purchase cyclobenzaprine online purchase cyclobenzaprine online baclofen 25mg ca

  20. Great site! I recommend to everyone!gambling consultancy

  21. Yvlfgo表示:

    order generic lopressor 100mg cost metoprolol lopressor 50mg ca