Added Text Formatting for HTML (#31307)

* Added Text Formatting for HTML

* fix: formatting
This commit is contained in:
heymanpreet
2018-12-04 06:52:29 +05:30
committed by Christopher McCormack
parent 85f095c9f5
commit 07b5c5c9a8

View File

@ -158,6 +158,17 @@ There are many possible ways a user can give input/s, such as:
``` ```
Comments can help in the understanding of the markup and do not display in the webpage. Comments can help in the understanding of the markup and do not display in the webpage.
**Text Formatting**
HTML defines special elements for defining text with special meanings.
- `<b>` - Bold Text
- `<strong>` - Important text
- `<i>` - Italic Text
- `<em>` - Emphasized Text
- `<sub>` - Subscripted Text
- `<sup>` - Superscripted Text
## HTML Attributes ## HTML Attributes
An attribute gives more information about an element. Attibutes always come inside an opening tag. An attribute gives more information about an element. Attibutes always come inside an opening tag.