(X)HTML

HTML and XHTML are the markup languages used to create a solid foundation for your website or web application, and articles in this category generally touch upon the semantics and accessibility aspects of marking up web pages.

XHTML Media Types Working Group Note updated

The W3C XHTML Media Types Note now includes compatibility guidelines and allows XHTML 1.1 documents to be served as text/html provided that they conform to those guidelines.

Posted on January 29, 2010

Embedding video files without JavaScript

A method for embedding video files with the HTML 5 video element, QuickTime or Flash that does not require JavaScript.

Posted on January 25, 2010

XHTML 1.0 helped improve the Web

Jeffrey Zeldman on how the stricter and clearer rules of XHTML 1.0 made many web professionals improve their markup.

Posted on November 30, 2009

CSSquirrel makes comics out of hot topics

At cssquirrel.com, Kyle Weems turns hot web related topics into enjoyable comics that should make a lot of web geeks smile.

Posted on November 24, 2009

Headings and document structure conclusions

There appears to be no single solution to heading structure in HTML that fits all situations, but as I see it there are two choices.

Posted on November 10, 2009

Use the th element to specify row and column headers in data tables

When creating data tables in HTML, make sure to mark up the table structure properly, using the relevant elements and attributes available in HTML.

Posted on October 28, 2009

Use the optgroup element to group select options

When grouping the options of a select element, you can use the optgroup element with a label attribute instead of faking the groups with option elements.

Posted on October 5, 2009

Use the fieldset and legend elements to group HTML form controls

Only use the fieldset and legend elements to group logically related form controls, always use both elements together, and keep legend texts short.

Posted on April 30, 2009

Using an XML declaration triggers Quirks mode in IE 6

If you use an XHTML doctype with an XML declaration, Internet Explorer 6 will switch to Quirks mode and use an incorrect CSS box model.

Posted on April 28, 2009

The evolution and future of HTML

Sam Ruby, co-chair of the W3C HTML Working Group, has put together a number of select quotes to illustrate the evolution of HTML, from the beginning to where it is now.

Posted on March 17, 2009

Use the p element to create paragraphs

Using p elements instead of multiple br elements to create paragraphs in HTML makes your documents more accessible and easier to style.

Posted on March 16, 2009

The alt attribute is for images only

The alt attribute is valid only for images and provides alternative text used when the image cannot be rendered. Do not use it with links and other non-image HTML elements.

Posted on February 16, 2009

It’s “class”, not “CSS class”

There is nothing called a “CSS class” in HTML or CSS, so please refer to values of the HTML class attribute as classes or class names instead.

Posted on February 12, 2009

Use CSS Diagnostics with Stylish to find bad HTML

Combining the concept of diagnostic CSS with the Stylish Firefox extension makes it easy to apply CSS that reveals invalid or deprecated HTML to any site you want.

Posted on February 5, 2009

Validating WAI-ARIA in HTML and XHTML

Validating WAI-ARIA in HTML or XHTML is currently more difficult than it could be, but it is possible and there is hope that it will be easier in the near future.

Posted on February 3, 2009

Creating valid names with the id attribute

There is a simple rule that defines which characters you may use with the id attribute: begin with a letter, then add any number of digits, hyphens, underscores, colons, and periods.

Posted on February 2, 2009

Headings, heading hierarchy, and document outlines

What do you do when an HTML document’s main heading is not the first text that should be marked up as a heading - insert a dummy heading or give up on having a perfect document outline?

Posted on January 26, 2009

Specify each HTML document’s main natural language

Always specify which natural language (spoken, written or signed human language) is used for a document’s content. Use the lang and/or xml:lang attributes for this.

Posted on January 20, 2009

Find inline CSS and JavaScript with Inline Code Finder

Inline Code Finder is a neat quality assurance tool that will find and highlight any elements that have inline events, inline styles, or javascript: links.

Posted on December 16, 2008

The id attribute’s value must be unique

The value of the id attribute must be unique in an HTML document. In other words, the same id value may only occur once.

Posted on December 8, 2008

Page navigation

Page 1 | Page 2 | Page 3 | Page 4 | Page 5 | Page 6 | Page 7 | Page 8 | Page 9 | Page 10

Archive contents

Subscribe to the RSS feed for 456bereastreet.com

Sponsors

Authentic Jobs

Authentic Jobs: Come in, we're hiring

Job openings from Authentic Jobs

Advertise here

DreamHost web hosting

Try DreamHost!

Use the promo code 456BEREASTREET3 to save USD 20 when you sign up for DreamHost