<p>

<p> is a Paragraph Markup component that renders a paragraph of text.

Attributes and Properties

The <p> component has no attributes.

Props for <p name="p">
PropertyType
$p.disabledboolean
$p.fixedboolean
$p.fixLocationboolean
$p.hiddenboolean
$p.texttext

Example: Two paragraphs

All text enclosed within an opening and closing <p> forms a paragraph.


Example: <p> within sectional components

Paragraphs can be nested within sectional components such as a <section>, <example>, <exercise>, or <problem>.


Example: <p> within an <li>

The <p> component can be nested inside list items to provide additional line spacing.


Example: Separate text and math content

Frequently a <p> tag is used to separate lines of text and sections of math content, such as a <graph>, a <mathInput/>, or an <answer>. Try deleting all of the <p> tags from the example above to observe the effect.