A consistent, clean, and tidy HTML code makes it easier for others to read and understand your code. In this video, I discuss 15 guidelines to create a good HTML code.
- - - Contents Of The Video - - - -
00:00 - Introduction
01:04 - (Tip 1) Declare Doctype
01:15 - (Tip 2) Never Skip Title Element
01:41 - (Tip 3) Add lang & charset Attributes
02:15 - (Tip 4) Set Viewport
02:48 - (Tip 5) Lowercase Element & Attribute Names
03:15 - (Tip 6) Close All Elements
03:40 - (Tip 7) Use Semantic Elements
04:15 - (Tip 8) Specify alt, width & height for Images
04:45 - (Tip 9) Avoid Long Code Lines
05:14 - (Tip 10) Avoid unnecessary Blank lines, Spaces & Indentations
05:38 - (Tip 11) Use Consistent File Naming Style
06:15 - (Tip 12) Use Comments
07:35 - (Tip 13) Use Entities
09:31 - (Tip 14) Validate Code
10:16 - (Tip 15) Check for Cross Browser Compatibility
11:13 - What next after HTML ?
- - - Interesting Links - - - -
1. HTML Entities - https://www.w3schools.com/html/html_s...
2. HTML Validator - https://validator.w3.org/
3. MDN Web Docs HTML - https://developer.mozilla.org/en-US/d...
4. W3 Schools HTML - https://www.w3schools.com/html/defaul...
5. HTML Official Specifications - https://html.spec.whatwg.org/multipage/
On this page of the site you can watch the video online [HTML-Tutorial-21] Creating Good HTML Code | HTML Best Practices | Coding Conventions & Standards with a duration of hours minute second in good quality, which was uploaded by the user Code Range 26 February 2021, share the link with friends and acquaintances, this video has already been watched 7,190 times on youtube and it was liked by 206 viewers. Enjoy your viewing!