Journal

Entries marked as: html

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.

Link

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?

On HTML5 and the proposed main 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.

Marking up a postal address with HTML

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.