Menu
HTML Design

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 ...

HTML DIV Basics
An html div is a block-level element that defines a horizontal section of a webpage. A block level element has an embedded carriage return before and after the element. Using styles, a div can be the best element to use for complex webpage layouts. 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 ...

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 ...

How to Debug HTML
As your web browser reads your html code and tries to follow your instruction to lay out the webpage, it is extremely forgiving. But it can't read your mind, that's why you have to type everything according to the specification. More ...

Checkbox Basics
A checkbox is a type of input element for a form. A checkbox is similar to a radio button except that a radio button can be part of a group, so a previously selected radio button automatically de-selects. Whereas checkboxes are each independent so you can have multiple checkboxes checked at the same time. 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 ...

Wrapping Text Around Images
By default the baseline of the image is placed on the same baseline as the text. If you want the text to wrap around the image, use the image tag's align attribute. 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 ...

HTML5 Input Type - URL
With previous versions of HTML you used the form control input type="text" to capture typed data from the user. You had to validate the user's input using string methods and or regular expressions. The HTML5 URL control provides built-in validation of URLs. More ...

HTML Linking Basics
Many people have difficulty linking their webpage to other webpages and media. In this article, you learn how to create relative links from any webpage to any other webpage in a directory structure, even to a specific location in another webpage. Plus you learned about a couple of useful link tag attributes. More ...

Webpage DOCTYPE Declarations Explained
DOCTYPE is a declaration that should appear as the first line in your webpage code. It defines the standard to which your webpage is coded, and provides information to the browser as to how the code should be interpreted. Make sure your webpage's doctype matches it's coding standard. More ...


Learn more at amazon.com

Custom Search