Skip to content
This repository has been archived by the owner. It is now read-only.
Switch branches/tags
Go to file
Cannot retrieve contributors at this time

HTML Style Guide

This document is a brief set of guidelines for writing HTML for web-based projects. Individual projects may override these rules; make sure you know the standards for your project!

General Guidelines

  • Use the HTML5 doctype.

  • Make sure your code validates.

  • No inline CSS or JavaScript.

  • Be semantic.

  • Use doublequotes for attributes:

    <a href="#">Good</a>
    <a href='#'>Less Good</a>