Register to Better Coder! It's free.
Enjoy the premium features and succeed at every job interview.
HTML Best Practices
Don't separate attributes with two or more whitespaces if they are on a single line
Don't omit closing tags
Escape characters that have special meaning
Use mobile first approach
Validate your code and use HTML linter
Do not use <div> tags for defining list items
Define document information hierarchy using heading tags
Use meaningful <title> tag for each page
Use semantic HTML tags instead of <div> tags
Do not hack NASA using HTML
Minimize the number of tags in a document
Do not use empty tags
Use lowercase markup
Use external stylesheets placed in <head> tag
Use alt attribute with all <img> tags
Do not use inline styles
Use proper formatting and nesting
Always close tags
Use correct doctype
Use proper document structure
- Become a Best practice hero.Help us to grow the catalogue of best practices.
Recently added best practices
Anonymous
hello
hello
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e