Posts Tagged ‘html’
Sunday, August 17th, 2008
How many people who reach your web page leave again before the page even finishes loading? To find out you need a way of counting both how many people start downloading your page and also how many people finish downloading the page. You are never going to be able to obtain complete figures for this but here is one way that at least makes sure that the subset of your visitors that it can count is the same for both counts.
Counting Lost Visitors
Tags: count, html, javascript, visitor
Posted in Golden Oldie | No Comments »
Thursday, August 14th, 2008
Ensuring that the code that you write for your HTML and style sheet code complies with the standards is extremely important if you want to ensure that your page will display correctly in all browsers and be usable to those who for one reason or another do not use the same browser as you prefer to use. There are a number of sites that provide validators that will assist you with this task. This page provides links to several of them along with a description of what each is useful for.
Validate Your Code
Tags: accessibility, css, html, tidy, validate
Posted in What's New | No Comments »
Thursday, August 7th, 2008
There are a couple of ways that files can be offered for download from a web site. The simplest way is to offer the download using a compressed format that not only ensures that the browser will download it rather than display it but which also makes the download as small as possible.
Linking to Downloadable Files
Tags: file download, html, zip
Posted in Golden Oldie | No Comments »
Monday, August 4th, 2008
After reviewing “The Ultimate CSS Reference” I had high expectations of this book. Unfortunately this book failed to live up to those expectations as my review explains.
The Ultimate HTML Reference
Tags: html, reference, review
Posted in What's New | No Comments »
Saturday, August 2nd, 2008
The attributes set in your style sheet completely over ride any of the old deprecated HTML attributes that used to serve the same purpose. This means that if you define your page appearance properly then attempting to reference the deprecated HTML attributes from your JavaScript will have no effect.
Changing Stylesheet Attributes
Tags: attribute, html, javascript, style
Posted in Golden Oldie | No Comments »
Thursday, July 31st, 2008
HTML doesn’t contain a single element combo box. To get the equivalent of a combo box in a web page you need to somehow combine a drop down list and an input field.
One way to do this is to provide an extra option in the drop down list that will make a separate input field appear so that values not in the list of the most common choices can be entered there. This means that it will not look much like a combo box but will at least work like on provided that your visitor has JavaScript enabled.
Dynamic Text Boxes
Tags: combo box, dropdown, html, javascript
Posted in Golden Oldie | No Comments »
Tuesday, July 29th, 2008
The easiest way to add common content to all your web pages is to place that content into a separate file to be included into all the HTML pages before the pages are sent to the browser. How you do this depends on which server side languages you have available on your web server. In this tutorial we look at the command you need to use and naming convention needed for the page if you can use SSI or PHP.
Common HTML Content
Tags: common content, html, include, PHP, ssi, web server
Posted in What's New | No Comments »
Wednesday, July 23rd, 2008
There is nothing that you can do in the HTML, stylesheet, or JavaScript that will protect the images on your web site from being stolen. The best form of protection is to either place a watermark in the image itself or to embed the image into a PDF with associated text that indicates the copyright. Those methods will not prevent your image being stolen but will identify it as stolen when the thief tries to use it.
The next most effective way after that is an HTML solution which reduces the chance of casual theft of your images by placing them behind a second transparent image. This will mean that someone who steals images using their context menu will most likely save a copy of the transparent image instead of the one they intended to take and will possibly not notice until much later that they didn’t get the image they thought they had saved. This will not prevent them saving the image some other way but since you are not making it obvious that you have blocked their ability to save the image through their context menu they they may decide that it is not worth the effort of returning to your site to use some other method of saving the images.
Partial Protection of Images
Tags: html, image protection
Posted in Golden Oldie | No Comments »