From ba25e70fb7d1c194ca09629cfee6af492b2deee5 Mon Sep 17 00:00:00 2001 From: kshitij-k-osmosys Date: Fri, 21 Mar 2025 18:13:11 +0530 Subject: [PATCH] docs: fix formatting in html coding standards --- coding-standards/html.md | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/coding-standards/html.md b/coding-standards/html.md index 9a2b308..b738f14 100644 --- a/coding-standards/html.md +++ b/coding-standards/html.md @@ -7,10 +7,10 @@ Following are additional guidelines to be followed. **Note**: The following rules will override the ones provided in google style guide. ## General -**HTML is a Markup Language**: +**HTML is a Markup Language**: HTML is used to markup your document and not style it. We have CSS for styling. This means it is not advisable to use h1, h2 to size your content. -**Always Specify a DOCTYPE**: +**Always Specify a DOCTYPE**: Always specify the doctype at the top of the page. Ideally, this should be: ```html @@ -109,6 +109,7 @@ Do NOT use `
` tags to add margin or padding. Instead, use CSS. If you find y **Do Not Omit Closing Tags**: Although HTML5 allows you to omit closing tags, always close your tags. ### Write One List Item per Line + **Bad** ```html