Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 484 Bytes

HTML Style Guide

This document is a brief set of guidelines for writing HTML for Mozilla Webdev 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 double quotes for attributes:

    <a href="#">Good</a>
    <a href='#'>Less Good</a>
You can’t perform that action at this time.