diff --git a/CheatSheets/html-cheatsheet.md b/CheatSheets/html-cheatsheet.md index d456234..5d1ee19 100644 --- a/CheatSheets/html-cheatsheet.md +++ b/CheatSheets/html-cheatsheet.md @@ -4,6 +4,7 @@ - [Basic Tags of HTML](#basic-tags-of-html) - [Tags to Structure Document](#tags-to-structure-document) - [Semantic Elements](#semantic-elements) + - [Formatting](#formatting) - [Links](#links) - [Images](#images) - [Lists](#lists) @@ -16,6 +17,8 @@ ## Basic Tags of HTML +> Tags are like keywords which defines that how web browser will format and display the content. + | Command | Description | | ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | | `...` | Tag can be thought of as a parent tag for every other tag used in the page. | @@ -41,27 +44,20 @@ | `
…` | Quotes often go into this tag. Is used in tandem with the tag. | +| `
…` | Quotes often go into this tag. Is used in tandem with the ``tag. | | `
…` | Similar to the above tag, but for shorter quotes. | | ` … ` | Denotes abbreviations, along with the full forms. | | ` … ` | Tag for specifying author’s contact details. | | ` … ` | Tag dedicated for definitions. | | `
…
` | This is used to display code snippets within a paragraph. |
-| ` … ` | Used for writing a subscript (smaller font just below the mid-point of normal font). |
-| ` … ` | Similar to the above tag, but for superscripting. |
-| ` … ` | Reduces text size. In HTML5, it often refers to redundant or invalid information. |
-| ` … ` | This element indicates that its contents have strong importance or urgency. Browsers usualy render the contents in bold type. |
-| ` … ` | Defines a part of text in an alternate voice or mood. The content inside is typically displayed in italic. |
| ` … ` | Overrides the current directionality of text, so that the text within is rendered in a different direction. |
-| ` … ` | This tag is used to define emphasized text. The content inside is typically displayed in italic. |
-
**[🔼Back to Top](#table-of-contents)**
## Semantic Elements
+> Semantic element clearly describes its meaning to both the browser and the developer.
+
| Command | Description |
| -------------------------------- | ------------------------------------------------------------------------------------------- |
| `...` | Preserve both spaces and linebreaks | +**[🔼Back to Top](#table-of-contents)** + +## Formatting + +> Formatting elements were designed to display special types of text: + +| Command | Description | +| ------------------------ | ---------------------------------------------------- | +| ` ... ` | Defines bold text | +| ` ... ` | Defines emphasized text | +| ` ... ` | Defines a part of text in an alternate voice or mood | +| ` ... ` | Defines smaller text | +| ` ... ` | Defines important text | +| ` ... ` | Defines subscripted text | +| ` ... ` | Defines superscripted text | +| ` ... ` | Defines inserted text | +| `