i

Learn HTML and CSS in 10 Days

Keeping the Syntax Organized

As the pages become big, managing HTML gets hectic. Fortunately, there are a couple of speedy standards that can assist us in keeping our linguistic structure spotless and sorted out. These incorporate the accompanying:

  • Indent nested elements

  • Use letters in lowercase inside element attributes, values, and names.

  • Omit the values while dealing with Boolean attributes.

  • Do not use a single quote or omit quotes completely but use a double quote.

  • Get rid of the forward slash at the very end of the self-closing elements.

Bad Code

Good Code