Tuesday, August 31st, 2010

Why Doesn’t My Site Do What I Say You Should Do With HTML And CSS?

This isn’t just a matter of “do what I say and not what I do”. Any web sites I create now will be written exactly the way that I say that the HTML and CSS should be written. The sites where the code in the pages doesn’t match what the content says you should do [...]

Monday, August 30th, 2010

Web Page Width

A common question I see asked by web newbies is what screen resolution that they should design their web pages for. You can tell that they are newbies because anyone with any experience of the web knows that screen resolution is irrelevant and that it is the area in the browser that the page displays [...]

Wednesday, August 18th, 2010

Limiting Textarea Text

Unlike normal input text fields where you can specify a maxlength attribute, there is no HTML equivalent for textareas. Instead if we want to limit the amount of text that can be entered in the browser rather than just truncating the textarea after it is submitted we need to use JavaScript. Limiting Textarea Text

Tuesday, August 17th, 2010

htmlentities and htmlspecialchars

These two PHP functions are very similar in what they do. They are also ones that many PHP newbies misuse by running them earlier in their processing than is appropriate. These functions are ones you want to run last when creating HTML. htmlentities and htmlspecialchars

Monday, August 9th, 2010

New to Web Site Building

Everyone has to start somewhere and the best place to start with creating a web presence is with a blog or similar setup where you just need to plug in your content. To be able to take full advantage of the web though you’ll need to learn the languages that it uses. New to Web [...]

Thursday, August 5th, 2010

Form2Mail

I have written not one but two form2mail scripts. The simpler of the two allows you to collect as many different fields as you require and sticks them in the email as separate lines specifying the field name and the value entered. It also caters for the sender adding a message under the list of [...]

Tuesday, July 13th, 2010

Language First

The SGML doctype at the top of your HTML defines which language that the web page is written it. The short form <!doctype html> defines that it is HTML without specifying what version of HTML. The longer variants define more specifically just which particular SGML language that the web page is written in. Selecting what [...]

Monday, July 12th, 2010

Standards for Markup Languages

It isn’t only things like HTML and CSS that have standards. There are also standards for how markup languages should be defined. The most general standard for defining markup languages is called SGML. HTML 2 through 4 all comply with this standard. Standards for Markup Languages

Friday, July 2nd, 2010

Testing Server Side Processing Before you Upload

You don’t want to display all your errors for the world to see so when you create web page you will want to check that they actually display correctly before you upload them to the web. Testing Server Side Processing Before you Upload

Thursday, June 17th, 2010

The Object Tag

Today’s article is about the object tag which is supposed to be the way that you embed other content such as video, sound, images, and other HTML files etc into your web page instead of using proprietary tags such as embed, deprecated tags such as iframe. Unfortunately it isn’t as simple as it seems since [...]

Monday, June 7th, 2010

“Create Stunning HTML Emails That Just Work”

HTML unfortunately doesn’t work the same for emails as it does for web pages. This book shows you how to create emails that make proper use of what HTML does work in emails. Read more about what I think of the book “Create Stunning HTML Emails That Just Work”.

Monday, May 24th, 2010

The Web is Not Print

Despite the web having been around for a long time there are still a lot of people who are creating web pages who just seem to have no comprehension of how the web works. I lost track long ago of how many people ask what width to design their pages for. The obvious reply for [...]