Search code examples
htmlcssxhtmlw3c

DD tag HTML problem


Why effect of DD tag differs in this pages?

[removed]

[removed]

First example also doesn't work in Chrome. Firefox is ok.

I want in node/159 same as in test.htm.

UPDATED: The links removed.


Solution

  • If the goal is to indent the first line of each paragraph then:

    • Don't use a <dd> element
    • Do use a <p> element
    • Do use the CSS text-indent property