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 ...
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 ...
HTML5 Input Type - Email
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 email control provides built-in validation of email addresses. More ...
Block and Inline HTML Elements
There are two main types of html elements, block and inline. A block element starts and ends with an inherent line break. An inline element starts at a position defined by its sequence in the code. 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 ...
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 ...
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 ...
Easy Code to Add Google Site Search to Your Website
Some authors will tell you that you need to have an account with Google in order to create a Google Site Search box. This is entirely untrue. This artilce provides the code for Google site search, just paste this code into the desired location on your website. 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 ...
Web Page Template
Every webpage starts out with a basic set of tags, doctype, html, head, meta, title, and body.This article provides yo uwith ahe template for a basic webpage. More ...
Use fieldset to Organize Form Elements
The html fieldset tag provides a way to organize groups of related form input elements. The fieldset tag draws a box around the related elements. Used along with the legend tag, it provides a way to label the groups of related elements. 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 ...

