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 ...
Divide a Table Into Head (thead), Body (tbody), and Footer (tfoot) Sections
The html thead, tbody, and tfoot tags allow you to divide a table into sections. In this article I show you how to accomplish this in order to remove cell borders in the table header and add a different color to the table header and footers. More ...
HTML SPAN Basics
Whereas a div is a block element which defines a vertical section of a webpage or parent element, a span is an in-line element that is rendered during the line-by-line parsing of the html code for the webpage. Without styles a span provides no visible change. More ...
Text Input Box Basics
The most common way to receive information from a visitor to your website is to let them type it into a text box. In this article you learn the basics of using text boxes on your webpages. More ...
Make an HTML Element Editable
HTML5 provides the contenteditable attribute which can make most elements editable. This article provides code to make a div editable. More ...
The HTML Head Tag
This article describes the structure of a webpage document and the html head tag. More ...
Text Features
There is a series of html tags that you can use to configure features of your text like boldness, italics, strike though, underline, and more. More ...
Radio Button Basics
A radio button is a type of input element for a form. A radio button is similar to a checkbox except that when a user clicks a radio button that is part of a group, the previously selected radio button automatically de-selects. In other words, radio buttons in a group are mutually exclusive. More ...
Semantic (X)HTML: Markup with Meaning
Contrary to what you may have learned in the earlier years of web development, (X)HTML should not define the look and presentation of a web page (that's the job of CSS). Instead, the purpose of (X)HTML is to provide context and meaning to the content of the document, this is referred to as semantic markup. 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 ...
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 ...
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 ...

