Corrected markdown and code sample formatting (#23374)
* Corrected markdown and code sample formatting Added code highlighting to `<p>`, to prevent it being interpreted as a new paragraph. Also made indentation in the code sample consistent. * Fixed typo and formatting
This commit is contained in:
@ -3,13 +3,13 @@ title: Paragraph Tag
|
|||||||
---
|
---
|
||||||
## Paragraph
|
## Paragraph
|
||||||
|
|
||||||
The HTML <p> element represents a paragraph of text. <p> usually represents a block of text that it separated from other blocks by vertical blank space.
|
The HTML `<p>` element represents a paragraph of text. `<p>` usually represents a block of text that is separated from other blocks by vertical blank space.
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
``` html
|
``` html
|
||||||
<p>
|
<p>
|
||||||
This is a paragraph
|
This is a paragraph
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
This is another paragraph
|
This is another paragraph
|
||||||
@ -18,4 +18,4 @@ The HTML <p> element represents a paragraph of text. <p> usually represents a bl
|
|||||||
|
|
||||||
#### More Information:
|
#### More Information:
|
||||||
<!-- Please add any articles you think might be helpful to read before writing the article -->
|
<!-- Please add any articles you think might be helpful to read before writing the article -->
|
||||||
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p
|
- [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p)
|
||||||
|
Reference in New Issue
Block a user