What’s the go with the target attribute?
If you want to open a link in a new browser window/tab, the common approach is to use the target=”_blank” attribute in your anchor tag. However, the target attribute is deprecated by W3C standards and your HTML won’t validate if you use it.
The common alternative is to use JavaScript but I don’t really like that [...]
Web Mockups with Pencil
Discovered Pencil today, a nifty free/open source mockup tool. Initially I wasn’t going to try it because it is advertised as a Firefox extension, and I didn’t want yet another firefox extension installed. But then I found you could download a standalone version. So far, it works pretty good, my only complaint is that I [...]
CSS Shorthand Property Order
You can use a shorthand notation for setting certain CSS properties, for example:
div.example {
margin-top: 10px;
margin-right: 20px;
margin-bottom: 30px;
margin-left: 40px;
}
Is the same as:
div.example {
margin: 10px 20px 30px 40px;
}
Nothing revolutionary there.
However, I always have trouble remembering the order, [...]
Dummy HTML Content
Very handy if you need some dummy HTML content: http://html-ipsum.com/