Paragraph in Body?

Hey, so how do you put a paragraph inside a body when there is a div with another paragraph in it.

I’m not quite sure I understand your question. Would you mind giving an example?

Are you talking about this?

<body>
    <div>
        <p>This is an example paragraph.</p>
    </div>
</body>

If so, then all you’d have to do to add a paragraph to the body, is this:

<body>
    <div>
        <p>This is an example paragraph.</p>
    </div>
    <p>This is an example paragraph.</p>
</body>

OR

<body>
    <div>
        <p>This is an example paragraph.</p>
        <p>This is another example paragraph.</p>
    </div>
</body>
1 Like

I think it’s fine in both ways you written aquaphoenix. I think that it depends he wants to do with the <div> element.

1 Like

Thanks the first example is what I was looking for…:slight_smile:

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.