Category: Web standards

Mailto: and its parameters

Posted by Ruben Canton on December 21, 2011 at 1:29 pm
categories Web standards

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 email</a>

That would show something like this:
Send email
If you click on there, and you have configured in your PC a default email software to handle it, Outlook [...]

 

How can I force a page jump in HTML printing?

Posted by Ruben Canton on December 8, 2011 at 11:40 am
categories Web programming, Web standards

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 element page break behavoir before the element starts.
page-break-inside: Lets you set that the page break behavior has to be [...]

 

HTTP Server Status

Posted by Ruben Canton on August 23, 2011 at 8:18 pm
categories Web standards

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: Informational.
2xx: Success.
3xx: Redirect commands. Very important in SEO.
4xx: Client error.
5xx: Server error.

Between them, the most common and the [...]

 

Making your web semantic

Posted by Ruben Canton on January 15, 2011 at 10:35 am
categories Web standards

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 tag.
For example, the tags <sidebar>, <header>, <footer> or <nav> will act as a div that also is explaining [...]

 

Accesing a page element using JavaScript

Posted by Ruben Canton on December 7, 2010 at 9:45 pm
categories Web standards

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 was wondering which one is the better to use so I wondered and found an [...]

WordPress Themes