Simple PHP Ban IP Address Script
This script is a simple way to ban one IP address or a range of IP addresses from your website. The code uses comments to include detailed information on how the script works to make it easier for you to edit it as you need it.
How to Center a Website with CSS
The question about centering your website in the visitor’s screen always comes up. Fortunately, the solution is really very simple.
Essentially, you can have two different types of website layouts - fixed and liquid widths. Fixed widths stay, well…fixed. Liquid layouts stretch to suit the size of your visitor’s screen.
Take a Full-Size Screenshot of Your Website
Recently I needed to take a full-size screenshot of a website I created for a project I am doing. A number of websites claim to be able to take screenshots of websites but sometimes you can be waiting quite a while for the screenshot to load, depending on the size of the “queue”.
List of Common HTML Editors
The following list is organised with three headings – text editors, source code editors and WYSIWYG editors. Text editors such as Notepad can be used to create Web pages just the same as any editor. Source code editors on the other hand usually highlight the different parts of the code to make things easier to see and understand. Finally, WYSIWYG (what you see is what you get) editors show you exactly what you are creating and there is usually no coding involved. All of the programs listed below are completely free.
Why use CSS?
There are a million reasons to use CSS over plain ol’ HTML formatting. This short article will list and explain some of the main reasons to use CSS.
Open a New Window Using JavaScript and Control it’s Appearance
This simple code will allow you to open a new window using JavaScript – and control the way it looks.
Using HTML and XHTML Doctype Declarations
A DOCTYPE Definition is a special declaration at the very top of your Webpage source – right above the HTML tag – that informs validators the rules in which to validate your page using, and for modern browsers (IE6+, Firefox, NS6+, Opera, IE5 Mac), whether to display your page in Quirks or Standards mode.
How to Create a Robots.txt File
A robots.txt is a useful file that keeps search engines from indexing pages you do not want spidered. But why would you not want a page indexed by a search engine? This tutorial will explain why, and how to do it.
HTML/XHTML Quick Reference
This HTML and XHTML Quick Reference is a handy page to have bookmarked or printed. It describes the popular and main HTML tags in an easy to follow way.
Set Up Google AdSense Custom Search Engine
A Google AdSense CSE (Custom Search Engine) can be a great way to earn revenue from your Website, and at the same time gives your visitors a way to search your own Website, or a number of Websites. You can also use it to create a search engine like Web Design Tuts’ Tutorial Search Engine, which includes about 20 different sites all relating to design tutorials.
