Making your HTML code readable

If you do not use space effectively in your HTML code, your code may look as:

Hard to read HTML code

Reading and understanding this code is difficult because it is so disorganaized. Becuase extra white space is ignored by the browsers, you can use that to your advantage to orgnaize your code. Use of white space to seperate tags helps you better understand and maintain your pages. The following shows the updated code with the approriate amount of space:

Readable HTML code