Useful Links: CaptionTube, Standards in Ed, Canvas element demos

Links to CaptionTube, an interview with educators advocating web standards, canvas element demos.

CaptionTube is the latest from YouTube. This is accessibility technology right in the browser using a time line-based system that looks and feels like a video editor. It is capable of numerous languages.

Web Standards in Education is an interview with Christopher Murphy and Nicklas Persson from the University of Ulster at Belfast.

Canvas Demos. Demos, tools and tutorials for the HTML canvas element. Go. Subscribe to the feed. Great stuff!

My Best Sellers

What’s hot on eHow? Find out what my best sellers are. More . . .

Here are some of the best sellers I’ve written . . . on eHow, that is.

Best sellers on eHow means that an article gets a lot of page views. I try to write quality articles there that give helpful information on a number of Internet and Web Development topics, but I never know what will be a big hit. Here are some of my big hits.

On Dreamweaver

On general topics

On CSS or HTML

On Free Web Building Tools

On Writing

Useful Links: eBook readability, iPhone app class, HTML5 summarized

Useful links: a good idea for ebook readability, learn to make iPhone apps, find out what’s new in HTML5.

Do It Myself Blog has a great suggestion for the creators of ebooks. Improve readability with one easy change.

Learn to make iPhone apps. One good app, sold for a buck or two to a few million folks. Well, you do the math. Now you can learn to make iPhone apps from the professors at Stanford at iTunesU.

What’s New in HTML5 is a simply organized and simply written summary of what may be coming in HTML5. Nice roundup.

Tip: Styling the label element with CSS

More about styling form elements, this time the label element . . . .

A few days ago I wrote  Tip: Styling a Fieldset with CSS. I decided to add to the small form I used and provide another tip on how to style the label element.

I made a few changes to the HTML example I’d used in the previous example. Here’s the new HTML page, with CSS. The changes result in this appearance for the form.

the styled labels in the form

In the HTML, I changed the labels to include the “for” attribute, so that I could move the closing label tags from where they before. The code is now like this for each label:

<label for="name">Your Full Name</label>
<input type="text" name="name" id="name" />

I also moved the submit button out of the fieldset, since it really didn’t belong in there in the first place.

I added the CSS to make the input fields appear as you see in the image (or on the example page). I made the labels display as block level elements, which were floated to the left. Then I assigned a width to the labels so that the input fields would all be a uniform distance away from the labels. I assigned a color and made the text bold. I used generated content to add a colon ( : ) after the label. (The colon may not appear in every browser.) Here’s the CSS.

label {
color: #B4886B;
font-weight: bold;
display: block;
width: 150px;
float: left;
}
label:after { content: ": " }

Those are the only changes needed to the form as it was described in the post about  Styling a Fieldset with CSS.

Review: Build Your Own Web Site the Right Way Using HTML and CSS

A review of Build Your Own Web Site the Right Way Using HTML and CSS by Ian Lloyd is from Sitepoint (2008). More . . .

by Web Teacher
Get this book at Amaon.com

★★★★★ Build Your Own Web Site the Right Way Using HTML and CSS by Ian Lloyd is from Sitepoint (2008). This is the 2nd edition. The first edition was on my recommended list for a very long time, and I don’t see any reason to remove the second edition from that recommended list.

The book covers the basics of getting started, tools you need, and gives plenty of examples of code for both the HTML and CSS it suggests. You build a single site to completion by the end of the book with a customized Blogger blog added. The book is a foundational experience that emphasizes best practices and would get anyone off to a solid start. The last chapter deals with where to go next, what else to learn, and where to find more references.

When tools are involved, such as FTP tools, the book includes examples for both Windows and Mac. It’s well written and illustrated. In short, a very good book

Summary: Clear explanation of the basics using best practices.

Technorati Tags: ,

Tip: Styling a fieldset with CSS

A small form with a styled fieldset to give you some ideas about how to punch up the appearance of a form. More . . .

A form element that will help you organize and clarify a form is the fieldset element. A form can contain more than one fieldset. For example, there might be a fieldset containing the form elements for the user’s personal information: name, email, etc. Another fieldset might collect information about a question, a product, or a service. Depending on the purpose of the form, fieldsets can help break it up into meaningful chunks and visually distinct areas.

click image to see the HTML page

Click the image to see the actual HTML page. (The form is nonfunctioning, submit won’t get you anywhere.)

The form in the example contains one fieldset. It’s simple, but it’s enough to illustrate the point.

Here’s the code for the fieldset:

<fieldset>
<legend>Reserve Your Space</legend>
<p>
<label>Your Full Name
<input type="text" name="name" id="name" />
</label>
</p>
<p>
<label>Email
<input type="text" name="email" id="email" />
</label>
</p>
<p>
<label>Phone
<input type="text" name="phone" id="phone" />
</label>
</p>
<p><input type="submit" name="button" id="button" value="Submit" />
</p>
</fieldset>

Look at the various elements in the form. These elements can be styled: fieldset, legend, p, label, input. (The p elements aren’t necessary, the example could use br or div instead. And, in most forms, the submit button would not be part of a fieldset, particularly if the form had more than one fieldset, which is a very likely scenario.)

Any rule of CSS can be applied to any or all of the form elements present. You can write rules for fonts, colors, background, background-image, line spacing, padding, margin, border, or anything else you might want to present in a particular way.

These are the CSS rules I wrote. You could do this many other ways.

fieldset {
border: 1px solid #CCA383;
width: 50%;
background: #FFE8EF;
padding: 3px;

}
fieldset legend {
background: #CCA383;
padding: 6px;
font-weight: bold;
}

Some simple touches with CSS involving color, padding, and border make the legend stand out and visually emphasize the form on the page.

See also: Styling the Label Element with CSS, which contains the same fieldset with additional styling for the label elements. Also see Three examples of fieldsets styled with CSS, which gives some very different fieldset examples.

Useful Links: Neuro web design, Web design update, HTML 5 differences

Links to a review of Neuro Web Design, the latest issue of the Web Design Update newsletter, the difference between HTML 4 and HTML 5.
More . . .

dotEdGuru, a blog I just discovered and which is now in my feed reader, wrote sex…Sex…SEX! Now I have your attention about a book called Neuro Web Design.

Neuro Web Design takes Neuromarketing one step further by discussing psychological concepts, which can then be applied to your website.  It’s a fascinating (and quick!) read that I recommend for anyone working on the web in any capacity.

In case you missed the Feb. 20, 2009 issue of the University of Minnesota at Duluth’s Laura Carlson Web Design Update newsletter, it’s bursting at the seams stuffed with so many great links I’m going to point to the archived copy of the newsletter. A lot has happened in the past week in accessbility, HTML 5, WCAG,  CSS 3, web standards, and more. Sometimes I cherry pick a few links from this weekly email to emphasize here, but this issue is so full of things you need to know that I thought I’d provide a link to the whole thing. You can subscribe to the listserv and get these valuable newsletters yourself.

HTML 5 differences from HTML 4 at the W3C not only details the differences in typical W3C-speak, but also explains the reasoning behind some of the changes. If you’re teaching HTML, this could be a great resource for you. Keep in mind that HTML 5 is still in the draft stage and not yet a recommendation.