The Little Book of HTML/CSS Coding Guidelines (2015)

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Introduction

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Acknowledgments

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

The Purpose of Coding Guidelines

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Consistency

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Usability

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Collaboration

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Maintainability

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Anatomy of a Coding Guideline

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Structure

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Minima

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Maxima

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Priority

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Approaches to Coding Guidelines

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Descriptive

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Prescriptive

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Descriptive and Prescriptive

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Decision Process

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Coding Guidelines in Practice

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Communication

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Compliance

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Reviews

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Automation

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Proven HTML/CSS Coding Guidelines

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

General

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Use UTF-8 (No Byte Order Mark)

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Omit the Protocol From Embedded Resources

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Indent by One Tab

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Use Only Lowercase

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Remove Trailing Whitespace

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Mark TODOs and Action Items With TODO

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

HTML

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Use HTML 5

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Use HTML According to Purpose

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Use Valid HTML

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Provide Alternative Contents for Multimedia

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Separate Structure From Presentation From Behavior

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Do Not Use Entity References

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Omit Optional Tags

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Omit type Attributes for Style Sheets and Scripts

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Use a New Line for Every Block, List, or Table Element, and Indent Every Such Child Element

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

When Quoting Attribute Values, Use Double Quotation Marks

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

CSS

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Use Valid CSS Where Possible

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Avoid User Agent Detection and CSS “Hacks”

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Use Functional or Generic ID and Class Names

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Use ID and Class Names that Are as Short as Possible but as Long as Necessary

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Prefix Selectors With an Application-Specific Prefix Where Safer

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Use Shorthand Properties Where Possible

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Omit Units After 0 Values

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Omit Leading 0s in Values

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Use Three-Character Hexadecimal Notation Where Possible

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Separate Words in ID and Class Names by a Hyphen

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Alphabetize Declarations

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Indent All Block Content

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Use a Semicolon After Every Declaration

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Use a Space After a Property Name’s Colon

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Use a Space Between the Last Selector and the Declaration Block

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Separate Selectors and Declarations by New Lines

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Separate Rules by New Lines

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Use Single Quotation Marks for Attribute Selectors and Property Values

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.

Summary

This content is not available in the sample book. The book can be purchased on Leanpub at https://leanpub.com/little-books.