Emmet 網頁開發界的超跑
在這個速度的時代,網頁也擁有非常多加速開發的工具,例如今天要介紹的這個外掛「Emmet」,他支援的開發軟體也相當多,也就是不管腳踏車、機車還是房車,都可以裝上這個超跑的引擎,廢話不多說,先讓大家知道他如何節省網頁開發的時間,如果我們在網頁上要輸入以下的HTML結構:
<div> <ul> <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> </ul> </div>
在我們安裝好Emmet之後,僅需輸入以下的縮寫,再按下Tab鍵,即可以產生如上述般的HTML結構:
div>ul>li*6>a[#]{選項$}
仔細看看應該不難發現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+/:將選取的部分變成註解。
使用的部分功能相當多,可以參考官方網頁中的文件介紹,或是繼續閱讀馬老師針對Emmet的後續介紹。
Why there’s a huge collection of vintage cars stored in the middle of the desert
base bridge
Back at the turn of the 21st century, Qatar was a country with few cultural attractions to keep visitors and residents entertained. Yet the Sheikh Faisal Bin Qassim Al Thani Museum — known as the FBQ Museum — was a place that most people visited as an alternative to the then-still rather ramshackle National Museum of Qatar.
You had to make an appointment, and drive out into the desert, getting lost a few times along the way, but then you were welcomed to the lush Al Samriya Farm with a cup of tea and some cake. The highlight was being allowed into a space crammed full with shelves and vitrines holding all sorts of eclectic artifacts from swords to coins — with the odd car and carriage standing in the grounds.
It wasn’t necessarily the kind of museum you’d find elsewhere in the world, but it was definitely a sight that needed seeing.
Today, it has grown and now claims to be one of the world’s largest private museums. It holds over 30,000 items, including a fleet of traditional dhow sailboats, and countless carpets. There’s also an entire house that once stood in Damascus, Syria.
There are archaeological finds dating to the Jurassic age, ancient copies of the Quran, a section that details the importance of pearling within Qatar’s history, and jewelry dating to the 17th century.
There are also items from 2022’s FIFA World Cup in Qatar including replica trophies, balls used in the games, entry passes, football jerseys and even shelves full of slightly creepy dolls and children’s plush animals.
Some of the more disturbing exhibits include various items of Third Reich paraphernalia in the wartime room, and, strangely enough, several showcases of birds’ legs with marking rings on them. Basically, whatever you can think of, you have a very good chance of finding it here.
Rumor even has it that behind a locked door is a room filled with the late Princess Diana’s dresses and other memorabilia, accessible only to a select few visitors. Another door hides a room, no longer open to the public, filled with collectibles of the late Saddam Hussein.
jocuri de noroc online moldova https://1win5026.ru .
1 win md https://1win5027.ru .
Купить диплом можно используя сайт компании. forumjustwoman.getbb.ru/viewtopic.phpf=43&t=2049
1win зайти http://1win7006.ru .
Заказать диплом под заказ в столице вы имеете возможность через официальный сайт компании. forum.24hours.site/index.phptopic=521489.new#new
1хwin 1хwin .
1 win moldova https://1win5027.ru/ .
москва снять бокс для хранения вещей москва снять бокс для хранения вещей .
склад москва для вещей склад москва для вещей .
1 вин вход в личный кабинет https://www.1win7017.ru .
dark web market urls darkmarket
canadian pharmacy online reviews usa canada pharm usa canada pharm
1wi http://www.mostbet5007.ru .
dark market link darknet marketplace
dark market dark web markets
online pharmacy canada: best rated canadian pharmacy – canadian 24 hour pharmacy
https://usacanadapharm.com/# USACanadaPharm
Приобрести документ о получении высшего образования вы можете у нас в столице. Мы оказываем услуги по производству и продаже документов об окончании любых ВУЗов России. Вы получите диплом по любой специальности, включая документы СССР. Гарантируем, что при проверке документов работодателем, никаких подозрений не появится. diplom-ryssia.com/pokupka-diploma-s-zaneseniem-v-reestr-bistro-i-nadezhno-2/
darknet markets onion address dark market url
1win moldova download 1win moldova download .
мелбет кж melbet1001.ru .
înregistrare 1win înregistrare 1win .
Смотреть здесь [url=https://vodkabetslot.ru/]водкабет казино[/url]
dark markets 2025 darknet market lists
usa canada pharm: canadian neighbor pharmacy – usa canada pharm
подробнее здесь казино vodka bet
how to bet on 1win https://1win18.com.ng .
melbet kg http://www.melbet1002.ru .
кликните сюда казино vodka bet