HTML code shorthand: Emmet and Haml

Source: Internet
Author: User

The HTML code is cumbersome to write because it has more tags.

One way to solve this problem is to use templates to fill in your own content in a skeleton written by someone else. Another is the method I want to introduce today----shorthand method.

The commonly used shorthand method, currently mainly is Emmet and Haml two kinds, this article all will introduce.

These two kinds of simple writing, the function is similar, each has the characteristic. Considering that Haml is based on the Ruby language, I recommend that the Ruby/rails project use Haml and that other projects use Emmet.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.