Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 990245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T05:55:06+00:00 2026-05-16T05:55:06+00:00

I know that in HTML4.0 <p> tag is not a block-level element. What about

  • 0

I know that in HTML4.0

<p>

tag is not a block-level element.
What about in XHTML 1.0?

Thank you

This is the reference for HTML4.0
http://www.w3.org/TR/html401/struct/text.html

The P element represents a paragraph. It cannot contain block-level elements (including P itself).

Was that my misinterpretation?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T05:55:06+00:00Added an answer on May 16, 2026 at 5:55 am

    As far as I know, p is a block-level element going back to at least HTML 3.2.

    Most elements that can appear in the
    document body fall into one of two
    groups: block level elements which
    cause paragraph breaks, and text level
    elements which don’t. Common block
    level elements include H1 to H6
    (headers), P (paragraphs) LI (list
    items), and HR (horizontal rules).
    Common text level elements include EM,
    I, B and FONT (character emphasis), A
    (hypertext links), IMG and APPLET
    (embedded objects) and BR (line
    breaks). Note that block elements
    generally act as containers for text
    level and other block level elements
    (excluding headings and address
    elements), while text level elements
    can only contain other text level
    elements. The exact model depends on
    the element.

    http://www.w3.org/TR/REC-html32

    And XHTML 1.0 is really the same exact thing as HTML 4.01 except less lenient. Meaning the elements serve the same purpose, are the same “level” ( block, inline, table ), just these rules apply:

    • all elements and attribute names must appear in lower case
    • all attribute values must be quoted
    • non-Empty Elements require a closing tag
    • empty elements are terminated using a space and a trailing slash
    • no attribute minimization is allowed
    • in strict XHTML, all inline elements must be contained in a block element

    EDIT:

    The P element represents a paragraph.
    It cannot contain block-level elements
    (including P itself).

    This just means that the p cannot own other block level elements inside, meaning because it is block-level it cannot contain itself.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know that I should put all the html elements in body tag, but
I know that ActiveMQ supports the JMSXUserID property: http://activemq.apache.org/jmsxuserid.html I'm trying to use Apollo
From Android widget screen guidelines, http://developer.android.com/guide/practices/ui_guidelines/widget_design.html , we know that, home screen has 4*4
I have a url like this : http://www.refskou.dk/safari-%F8.html The file is named like this:
I have this HTML & CSS and the 'overflow: hidden' tag is not working
I know that lot of questions about HTML sanitizers have appeared in SO, but
as we all know that html_safe work in controller and view i am sending
I have some html stored in database . I dont know that html stored
I know that a submit button in HTML can submit a form which opens
I know that I can run an external Javascript file from within HTML with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.