Supported by :   My Law Forms Ltd. - Deed polls and Tenancy Agreements

You are currently browsing the archives for the HTML help category.

CSS Tip: CSS Equivalent to CELLSPACING=0

When using the TABLE tag, there are two attributes that are commonly added; cellspacing and cellpadding. For padding, there is an obvious match with the CSS definition padding. Indeed the attribute for padding-top, padding-bottom, padding-left and padding-right all behave as expected. However there is no directly corresponding property for cellspacing. One might assume that the [...]

CSS background for my space pages

A quick and effective way to enhance and personalise a webpage, or section (body, div, table) is to add an image background. This can also add greater depth than a flat colour. For this example let us look at how to add a background image to a myspace page; http://www.myspace.com/digify

XHTML help: basics – tables, tr, td, th

Sooner or later you will need to create a table of some sort. There are lots of options for displaying tabular data in XHTML so first lets look at basic HTML tables.

Stop spam: Don’t use mailto links!

How can you add an email address link (mailto:) to a webpage but also reduce the risk of that email address being harvested by spammers?

XHTML help: basics – images, the IMG tag

Every website looks a lot better with pictures. To get some great images on your page you’ll just need one simple line: <img src=”http://www.xhtmltips.co.uk/site/html_help_link.gif” />

XHTML help: basics – unordered list, ordered list, definition list

In HTML there are several different types of lists. Mostly commonly you’ll use an unordered list. There are two other types of lists that you could use as well: the ordered list and the definition list. Of course an ordered list can be used for items with priorities, or to show a specific order of [...]

XHTML help – DIV or SPAN? DIV vs SPAN.

These two tags are often used inter-changeably by developers for different reasons, so what are the differences between them? How should they be used to markup web pages?

Section titles – CSS text alignment

Often a designer will wish to have a section or paragraph title bar which contains two separate pieces of text displayed on one line. This may be a text title on the left and a date or time stamp on the right. This can be accomplished very cleanly with a few CSS attributes applied to [...]

XHTML help: basics – essential tags (p em strong)

There’s pretty much one element you absolutely can’t live without when marking up your pages. It’s the paragraph element. You’ll use this tag to mark, you guessed it, paragraphs. Here’s how: <p>This is my paragraph that isn’t much of a paragraph. Aren’t paragraphs 3-4 sentences long?</p>

12 Ways to Make Your Web Pages Better

Due to the nature of the Internet, people may be viewing your web page with many different types of browsers such as a text-only browser, a voice browser, or a cell phone; they may be clicking through your site without a mouse, or keyboard, or they may be browsing hands-free. Some people may be accessing [...]