CSS Selectors to have in mind
I was the other day reading a post about CSS selectors just to remember or to learn something new and I found some new selectors you can use from IE7 and forward (the rest of the browsers have no...
View ArticleAccesing a page element using JavaScript
Lately I feel like making a master about selectors but I promise this is only a coincidence. When working with javascript we need to select the element we want to use and we have many ways to do so, I...
View ArticleMaking your web semantic
One of the most important issues that HTML5 brings to us is the possibility of placing semantic content in our code, this means that we can say robots or crawlers what is about the content inside some...
View ArticleHTTP Server Status
When a server answers a client request it gives an status code in the answer header that informs you if everything has gone ok or there has been any issue. Those statuses are divided in 5 groups: 1xx:...
View ArticleHow can I force a page jump in HTML printing?
If you would like to decide when the page will break and the next one will be started when your web page is printed you can use three CSS2.0 styles to set this “jump”. page-break-before: Sets the...
View ArticleMailto: and its parameters
Mailto is a link “address” we can set to an anchor tag to let the user send an email to someone with just a click. Something like this: <a href="mailto:someone@someserver.com">Send...
View ArticleJavaScript: Primitive and Reference values
The primitive values are those which value is stored directly on the variable, which are undefined, null, boolean, number and string. Reference values are those stored in memory and accessed through a...
View ArticleUsing Unicode characters to improve your website!
Using HTML unicode characters can help you reducing the amount of images on your site, just using the right HTML code and you can get this: ✔ or this ★ Doing that is as simple as adding its unicode...
View ArticleArchitectural Styles and the Design of Network-based Software Architectures
From the University of California, by Roy Thomas Fielding: Architectural Styles and the Design of Network-based Software Architectures. A bit old but clear and concise. More Roy’s publications.
View ArticleThe RESTful way
The idea of building your website services in a RESTful way consists on using the HTTP protocol to determine the Action you are going to perform instead than some Action name on the URL. This way, we...
View ArticleHow to throw a pop-up properly with Javascript
This is a translation from my original post in spanish. Hope you enjoy it! In some cases it can be useful for us and even more comfortable for the user to open a page in a pop-up on which to show the...
View ArticleBirth, life and death of XHTML
Before XHTML was the egg, no no, the chicken, well ok it was HTML 4.01. HTML was good, flexible, practical, allowed developers to do many things (and to not closing them), and despite its shortcomings...
View ArticleECMAScript Browser’s compatibility
Just a nice website to check current browser’s compatibility table with different versions of ECMAScript. You can check the version clicking on the header but just in case: ECMAScript 5 Compatibility...
View ArticleHTML Email tricks
Tips to write HTML Emails that I’ve found. Note this post can be bsolete as email readers are constantly changing and evolving. Background images It is just not possible to add an image as a background...
View ArticleHTML Emails: GMail Andriod App
While it looks like most email readers are moving into accepting standards as much as possible GMail has a bit of a weak point when it comes to its Android App (not the website though). I got myself in...
View ArticleHTML5 caching: Cache API
We can manage the browser’s cache to save our website as an app in it. App cache file - To config the cache we use something similar to the robots: a txt file listing the urls to cache with some...
View Article