Dirty Bird Design
Dirty Bird Design

Reputation: 5533

How do you add attributes to tags with Zen Coding Package in Sublime Text 2

I get how to add HTML nodes w/ST2 -> if I want a row with 4 cells "tr>td*4(tab)" but how do you add something like "valign="top"" in the td's. Same with adding a link a(tab) how would you add the target attribute in something like a(target="_blank")*9.

Appreciate any advice

Upvotes: 3

Views: 3236

Answers (1)

Hindol
Hindol

Reputation: 2990

You can try these,

div[title], a[title="Hello world" rel], td[colspan=2]

The example I have given is found here - http://code.google.com/p/zen-coding/

Upvotes: 12

Related Questions