-
Notifications
You must be signed in to change notification settings - Fork 122
Add more html tags in html-cheatsheet.md file #101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -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) | ||||||
|
@@ -39,19 +40,21 @@ | |||||
| `<hr/>` | In addition to switching to the next line, this tag also drawsa horizontal bar to indicate the end of the section. | | ||||||
| `<strike>...</strike>` | Another old tag, this is used to draw a line atthe center of the text, so as to make it appearunimportant or no longer useful. | | ||||||
| `<cite>...</cite>` | Tag for citing author of a quote. | | ||||||
| `<del>...</del>` | Pre-formatted, ‘monospace’ text laid out with whitespace inside the element intact. | | ||||||
| `<ins> … </ins>` | Denotes text that has been inserted into the webpage. | | ||||||
| `<blockquote> … </blockquote>` | Quotes often go into this tag. Is used in tandem with the <cite> tag. | | ||||||
| `<blockquote> … </blockquote>` | Quotes often go into this tag. Is used in tandem with the `<cite>`tag. | | ||||||
| `<q> … </q>` | Similar to the above tag, but for shorter quotes. | | ||||||
| `<abbr> … </abbr>` | Denotes abbreviations, along with the full forms. | | ||||||
| `<address> … </address>` | Tag for specifying author’s contact details. | | ||||||
| `<dfn> … </dfn>` | Tag dedicated for definitions. | | ||||||
| `<code> … </code>` | This is used to display code snippets within a paragraph. | | ||||||
|
||||||
| `<aside> … </aside>` | Its a Block level element that defines content aside from the content in which it is Placed. | | ||||||
|
||||||
| `<sub> … </sub>` | Used for writing a subscript (smaller font just below the mid-point of normal font). | | ||||||
| `<sup> … </sup>` | Similar to the above tag, but for superscripting. | | ||||||
| `<small> … </small>` | Reduces text size. In HTML5, it often refers to redundant or invalid information. | | ||||||
| `<strong> … </strong>` | This element indicates that its contents have strong importance or urgency. Browsers usualy render the contents in bold type. | | ||||||
|
||||||
|
||||||
**[🔼Back to Top](#table-of-contents)** | ||||||
|
||||||
## Semantic Elements | ||||||
|
@@ -66,14 +69,30 @@ | |||||
| `<footer> ... </footer>` | Defines a footer for a document or section | | ||||||
| `<header> ... </header>` | Specifies a header for a document or section | | ||||||
| `<main> ... </main>` | Specifies the main content of a document | | ||||||
| `<mark> ... </mark>` | Defines marked/highlighted text | | ||||||
| `<nav> ... </nav>` | Defines navigation links | | ||||||
| `<section> ... </section>` | Defines a section in a document | | ||||||
| `<summary> ... </summary>` | Defines a visible heading for a `<details>` element | | ||||||
| `<time> ... </time>` | Defines a date/time | | ||||||
|
||||||
**[🔼Back to Top](#table-of-contents)** | ||||||
|
||||||
## Formatting | ||||||
|
||||||
| Command | Description | | ||||||
| ------------------------ | ---------------------------------------------------- | | ||||||
| `<b> ... </b>` | Defines bold text | | ||||||
| `<em> ... </em>` | Defines emphasized text | | ||||||
| `<i> ... </i>` | Defines a part of text in an alternate voice or mood | | ||||||
| `<small> ... </small>` | Defines smaller text | | ||||||
| `<strong> ... </strong>` | Defines important text | | ||||||
Comment on lines
+86
to
+87
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Those tags already exist. Please There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sure got it |
||||||
| `<sub> ... </sub>` | Defines subscripted text | | ||||||
| `<sup> ... </sup>` | Defines superscripted text | | ||||||
| `<ins> ... </i>` | Defines inserted text | | ||||||
| `<del> ... </del>` | Defines deleted text | | ||||||
| `<mark> ... </mark>` | Defines marked/highlighted text | | ||||||
|
||||||
**[🔼Back to Top](#table-of-contents)** | ||||||
|
||||||
## Links | ||||||
|
||||||
| Command | Description | | ||||||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those tags break the table format. Please Fix it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay