If you need to add nonclass, non-ID attributes to tags, you can do so in Haml using curly braces immediately following the IDs and class names of an element:
%img{ :src => '/logo.png' }
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.