Rules

Secret ingredients to quality software

Do you make your "title", "h1", and "h2" tags descriptive?

Last updated by Camilla Rosa Silva on 02 Apr 2019 03:46 am (over 2 years ago) See History

The <title> , <h1> , and <h2> tags need to be descriptive. They should briefly describe the purpose or content of the page. Have a look at the following two images. The first image is a bad example as the title bar and page heading are not very descriptive. The second image is a better example as title bar and page heading are more informative.

bad title headings
Figure: Bad Example - non-descriptive title/headings

good title headings
Figure: Good Example - descriptive title/headings

We have a program called SSW Code Auditor to check for this rule.

We have a program called SSW Link Auditor to check for this rule.

Adam CoganAdam Cogan
Tiago AraujoTiago Araujo

We open source. This page is on GitHub