Inline quotes
When writing articles and blog posts we often quote comments made by others from other sources and display them with the blockquote element. But you can also display these quotes inline using the q element.
When writing articles and blog posts we often quote comments made by others from other sources and display them with the blockquote element. But you can also display these quotes inline using the q element.
We all know about the a element and we use it in our work everyday. Every HTML page that we create is likely to have at least one a element within it. But have you ever looked at the specification for this vital element?
As many of you probably already know, the HTML5 specification has a number of new structural elements whose intention is to add more semantic meaning to the content of a HTML document. One of the elements that some claim to be missing is a main element that would indicate the main content of a document. This might be about to change.
I was recently taking a look at the W3C‘s HTML5 specification when I noticed some elements I hadn’t come across before that are used to markup keyboard input and program output: kbd, samp and pre (ok, I have heard of this one!).
Ever since I saw this book mentioned in Issue 23 of the HTML5 Weekly newsletter, and the internal glimpse that the book’s website gave, I eagerly awaited its arrival.
I wasn’t disappointed.
The other day I was pondering on how one might go about marking up a postal address (as well as phone and fax numbers etc.) in HTML. There are a number of methods available, some of which I’m going to look at here and give my take on them.