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:
Sam
2018-11-24 02:19:15 +01:00
committed by Manish Giri
parent 4cc14a3e91
commit 65db5549f4

View File

@ -3,7 +3,7 @@ title: Paragraph Tag
---
## 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
@ -18,4 +18,4 @@ The HTML <p> element represents a paragraph of text. <p> usually represents a bl
#### More Information:
<!-- 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)