Menu
HTML Design

Setting the Number of Items Visible in a Select List
An HTML Select list is a form control used to create a drop-down list of items from which the user can select. The select list can appear as a drop-down list, or by setting its size property it can appear as a scrolling list. More ...

How to Make a Table Scroll
It's very common for a table to contain more data than can be displayed on a webpage without scrolling the webpage. A large table would be much easier to deal with if the table contents itself could scroll, rather than having to scroll the entire webpage. In this article, I'll show you exactly how to accomplish that. More ...

HTML5 Nav Element
The nav element provides a container for a block of navigational links. You should not place every stray link in a nav element. Applications such as parsers and screen readers for visually challenged users use the nav element to identify major navigation blocks. More ...

HTML5 role Attribute
AJAX applications can update a webpage without the user realizing the content has changed. The role attribute can be used to inform the accessibility application that the webpage content has changed. More ...

Add an Image to a Web Page
Adding an image to a webpage makes it much more interesting. But for the image to appear, you have to get its path right. Using the methods described here, you have no problem defining the correct path. More ...

Form Input Labels
Using the label element with your form input elements rather than just placing text next to them is a good idea that makes your web site more accessible. More ...

Line Breaks in HTML
Whether you are hand-coding your webpage, or trying to get your WYSIWYG webpage application to do what you want, understanding the html tags that control line breaks is very important. There are html tags to force a line break, tags to prevent a line break, and even tags to suggest a line break. More ...

Set Form Controls Tab Order With tabindex Attribute
The default tab order is the order in which the controls appear in the html code. You may prefer to set the tab order yourself. To set the tab order give each form element a tabindex attribute and set their number values to the order you want the tabs to work. More ...

Aligning an Image on Your Web Page
By default the baseline of the image is placed on the same baseline as the text. However you can set the align attribute to change where the baseline of the image will be located relative to the baseline of the text. More ...

The Font Tag
Starting with HTML version 4, the font tag was "deprecated" meaning that at some point in the future it may no longer be supported by some browsers. However, I believe the font tag will be supported long into the future. More ...

Adding Space Around an Image
With the html hspace and vspace attributes you can control the space around an image. Although these attributes were deprecated in HTML 4.01, they still work in all modern browsers. More ...

Easiest HTML Calculator Eample Code
This example is meant for educational purposes only, and that is why the code is kept to bare minimum. Were it an actual published calculator it would need, among other things, error handling and validation code added. As an example for educational purposes it's excellent. More ...


Learn more at amazon.com

Custom Search